Common Errors

[DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted. error when starting the bot?

If you are getting this error when starting the bot, you have to enable all the privileged gateway intents in your discord developer portal, you can do this by opening the discord developer portal, go to your application, click on bot on the left side, scroll down and enable Presence Intent, Server Members Intent, and Message Content Intent

Error: Could not locate the bindings file. Tried:

If you are getting this error when starting the bot, you have to delete the node_modules folder, and the package-lock.json file, After you have deleted them you have to reinstall all packages by using npm install, if it still doesn't work, make sure you are using Node.js v16, and not v17

Invalid ELF header

If you are getting this error when starting the bot, you have to delete the node_modules folder, and the package-lock.json file, After you have deleted them you have to reinstall all packages by using npm install, if it still doesn't work, make sure you are using Node.js v16, and not v17

Last updated