Open techrlz18 opened 3 years ago
This will be fixed. In the mean time, add Discord.Intents.GUILD_VOICE_STATES to the array
This will be fixed. In the mean time, add Discord.Intents.GUILD_VOICE_STATES to the array
You mean like this?
const client = new Discord.Client({ partials: ["REACTION", "MESSAGE"], ws: { intents: new Discord.Intents(Discord.Intents.GUILD_VOICE_STATES) } });
new Discord.Client({ intents: [Discord.Intents.GUILD_VOICE_STATES, Discord.Intents.ALL] })
new Discord.Client({ intents: [Discord.Intents.GUILD_VOICE_STATES, Discord.Intents.ALL] })
Same throw error here.
same error not fixed
Same error
Hey there!
For all of you who might have trouble, please try to check all the following boxes and make sure everything's alright:
Discord.Intents.ALL
as it has been removed from the APIClientOptions#intents
, not ClientOptions#ws
I can testify that the current implementation is properly working and that this issue is due to a development mistake. The following initialization works:
const client = new Client({ intents: [Intents.FLAGS.GUILD_VOICE_STATES] });
For the record:
I'm receiving this error..
Code: