Jump to content
McKay Development

Little questions about all modules


Lucas

Recommended Posts

Hi people. I have some questions about all modules.

 

1. Are modules very important?

2. Can i make a bot without modules?

3. If the answer is Yes. It's very hard to make a bot without them?

4. What is the function of modules?

 

Thanks for all!

Have a good one. 

Link to comment
Share on other sites

"Modules" are self-contained bits of code. Each module (generally) performs a specific task. In essence, "modules" are Node's version of "libraries". They're pretty much the cornerstone of Node so yes, they're rather important.

 

You can't make a bot without using at least the built-in modules (like net which provides network communication). You could definitely make a bot using only the built in modules, but only if you're insane. You'd have a lot of work ahead of you if you decided to make a bot without using any third-party modules.

 

For example, the steam-user module exposes an interface with which you can log into and interact with Steam. You could do that yourself, but then you'd need to implement the crypto, protobuf, protocol, and more yourself. Not a small task by any measure.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...