In your settings.json file, you specify "process.env.TOKEN" as where to look for your bot token. However, since you passed a string, DBM will try to login with the token process.env.TOKEN. Since the way DBM works, you will need to replace process.env.TOKEN with your bot token, you can’t store it in the .env file as JSON files can’t reference JS stuff.
Same problem here, it seems to be online (shows on discord) but if i console.log direct under the message event it doesn’t log anything at all (when i send a message)
I know that my Bot is currently IP banned and I am waiting for the server to get its IP’s refreshed that my project is running on.
I get this Error message and stacktrace:
Error: Something took too long to do.
at timeout.client.setTimeout (/rbd/pnpm-volume/5a9ad7cb-5007-49cb-ae10-a3b1e952540e/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/ClientManager.js:40:57)
at Timeout.setTimeout [as _onTimeout] (/rbd/pnpm-volume/5a9ad7cb-5007-49cb-ae10-a3b1e952540e/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/Client.js:436:7)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)
Of course process.env.discordToken is the discord bot token and err => console.error(err) in the catch function prints out the error message and the stack trace