vladdenisov / crove-bot

Discord.js bot. Can play music from YouTube, Spotify; has many other commands such as purge, kick, 8ball, etc.
MIT License
12 stars 6 forks source link

valid intents must be provided for the Client. #18

Closed DancingPotatoes closed 3 years ago

DancingPotatoes commented 3 years ago

when running the bot It gives me this error throw new TypeError('CLIENT_MISSING_INTENTS'); ^

TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client.

vladdenisov commented 3 years ago

This was unbelievably stupid mistake by me. Now it should be fixed. Please, make sure you filled in all parameters in config.json!

DancingPotatoes commented 3 years ago

cant i delete watson?

DancingPotatoes commented 3 years ago

do you mean that i need to install the new patch or no? because i am using the one without lavalink

DancingPotatoes commented 3 years ago

nvm i did it but now i have a new problem

SyntaxError: Unexpected token < in JSON at position 0

DancingPotatoes commented 3 years ago
at JSON.parse (<anonymous>)
at C:\Users\good\Desktop\crove-bot-0\node_modules\ytsr\lib\main.js:30:27
at IncomingMessage.<anonymous> (C:\Users\good\Desktop\crove-bot-0\node_modules\ytsr\lib\util.js:249:7)
vladdenisov commented 3 years ago

I haven't tested it yet without lavalink. I'll do it soon

DancingPotatoes commented 3 years ago

Okay

vladdenisov commented 3 years ago

https://github.com/vladdenisov/crove-bot/tree/ytdl/

This branch should work now