Closed anlekg closed 11 months ago
I'm running into the same issue, Ubuntu 22.04.3 LTS fresh install :
taco@discord-vm-server:~/youtubebot/StreamBot$ npm run start
> StreamBot@1.0.4 start
> npm run build && node ./dist/index.js
> StreamBot@1.0.4 build
> npx tsc
Available movies:
Server is running on port 8080
/home/taco/youtubebot/StreamBot/node_modules/discord.js-selfbot-v13/src/client/websocket/WebSocketManager.js:265
throw new Error(WSCodes[error.code]);
^
Error [INVALID_INTENTS]: [Bot Token] Invalid intent provided for WebSocket intents.
at WebSocketManager.createShards (/home/taco/youtubebot/StreamBot/node_modules/discord.js-selfbot-v13/src/client/websocket/WebSocketManager.js:265:15)
at async Client.login (/home/taco/youtubebot/StreamBot/node_modules/discord.js-selfbot-v13/src/client/Client.js:341:7) {
[Symbol(code)]: 'INVALID_INTENTS'
}
Node.js v19.8.1
I will check it!
I have noticed that you are using a Discord bot token. You should use a regular Discord user token. You can follow the steps outlined in the README.
Closed as resolved!
Hi ! I'm getting an Intent error on Windows while loading the bot :
All intents are enable... i tried to add intents to index.ts and rebuild but without success : any ideas ?