#Can't launch the bot - new Error("Used disallowed intents")

1 messages · Page 1 of 1 (latest)

scenic sedge
#

I just wanted to test the bot to see if I could implement it back but it didn't even launch

Steps :
git clone https://github.com/ZerioDev/Music-bot.git
cd Music-bot
yarn install (didn't work 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install' so I used npm install instead as the video in #tutorial)
nano config.js (change the token, nothing else since it was just to test)
node .

NodeJS : v16.19.0
NPM : 8.19.3
Ubuntu 22.04.3

GitHub

A complete code to download for a cool Discord music bot ! - GitHub - ZerioDev/Music-bot: A complete code to download for a cool Discord music bot !

#

Can't launch the bot - new Error("Used disallowed intents")

serene timber
#

As the error says, some intents are not "allowed": go to your bot’s page on the discord dev portal and in the "bot" part, enable each Provileged Gateway Intents

#

It should work

azure trail
#

Or, if you do not want to bother with the intents in the future (If you plan on modifying the bot), give it the adminstration intents

scenic sedge
scenic sedge
azure trail
serene timber
# azure trail

That’s permissions, I don’t think it will change the intents

azure trail
#

ohh

#

damn, my bad

serene timber
#

The intents are id the bot is allowed to check like user status

#

I think

azure trail
#

Oh the privileged intents?