• 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.

Missing permission to use module db

Trsak

Member
Hello,
so i have script using db module. On startup i get this error:
script AntiProxy is requesting missing permission to use module db, disabled

config.ini contains:
Code:
[Scripts.Privileges]
  AntiProxy = ["db"]

AntiProxy.js contains:
Code:
requiredModules: ['http', "db"]

So what am I missing?
 
It's 2.2 version but i have modified it to use mysql for my needs.

Sinusbot version is 1.0.0-beta.3-735814e
 
Try removing the quoted text in your config.ini
It's not needed anymore as of 1.0.0, prolly a relic from a prior installation.
 
Permissions are granted by enabling the script on the web frontend and saving the settings. So whenever you add new requiredModules, you'll have to go through that process again.
 
Back
Top Bottom