• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EN Using node modules in scripts.

Status
Not open for further replies.

Joel Smith

Member
With the "newly" added scripting it looks like we're using node in some way. I was thinking if it is possible to use node modules in my scripts to connect to a database or to access the filesystem for example.

Could it be possible just to "npm init" inside of the sinusbot root directory or the scripts directory?
 
Nope, the sinusbot has nothing to do with node and you won't be able to use external libaries such as node modules. In one of the upcoming updates a DB connection feature will be available so be aware :)
 
Status
Not open for further replies.
Back
Top Bottom