Meowhal / osu-ahr

irc bot for osu multi lobby auto host rotation
MIT License
130 stars 36 forks source link

npm run start:discord not working. #141

Closed ParaliyzedEvo closed 2 years ago

ParaliyzedEvo commented 2 years ago

I updated the ahr osu dev and it still didnt work. I am also using the dev branch and it still doesnt work. It keeps saying Loading log4js configuration from ./config/log_discord.json [15:35:08.042][INFO] pre - Starting up... [15:35:08.876][ERROR] discord_bot - @DiscordBot#start Privileged intent provided is not enabled or whitelisted. Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted. at WebSocketManager.createShards (C:\Users\paral\Documents\osu-ahr-dev\osu-ahr-dev\node_modules\discord.js\src\client\websocket\WebSocketManager.js:250:15) at async Client.login (C:\Users\paral\Documents\osu-ahr-dev\osu-ahr-dev\node_modules\discord.js\src\client\Client.js:254:7) at async DiscordBot.start (C:\Users\paral\Documents\osu-ahr-dev\osu-ahr-dev\dist\discord\DiscordBot.js:63:13) image

xayanide commented 2 years ago

Potential duplicate of #140

https://github.com/Meowhal/osu-ahr/issues/140#issuecomment-1181904163

Hello, the error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted. could mean that your bot is probably using an intent that hasn't been enabled for your Discord application yet.

Things you can do is to go to Discord Developer Portal, choose your application, proceed to the Bot settings section, and enable all the intents PRESENCE, SERVER MEMBERS & MESSAGE CONTENT (Not shown in the screenshot below) or the ones you're using.

privleged-intents

NickKruto commented 2 years ago

All on. I read instruction

NickKruto commented 2 years ago

image

ParaliyzedEvo commented 2 years ago

Potential duplicate of #140

#140 (comment)

Hello, the error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted. could mean that your bot is probably using an intent that hasn't been enabled for your Discord application yet. Things you can do is to go to Discord Developer Portal, choose your application, proceed to the Bot settings section, and enable all the intents PRESENCE, SERVER MEMBERS & MESSAGE CONTENT (Not shown in the screenshot below) or the ones you're using. privleged-intents

Thank you it works now