diff --git a/src/Player.ts b/src/Player.ts index b7b81d4..6f01038 100644 --- a/src/Player.ts +++ b/src/Player.ts @@ -46,7 +46,7 @@ class Player extends EventEmitter { */ this.client = client; - if (new Intents(this.client.options.intents).has(Intents.FLAGS.GUILD_VOICE_STATES)) { + if (!(new Intents(this.client.options.intents).has(Intents.FLAGS.GUILD_VOICE_STATES))) { throw new PlayerError('client is missing "GUILD_VOICE_STATES" intent'); }