From 845e57c7258fc9414b07f56fcc8934248e2dbfc3 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 20 Mar 2024 16:44:06 -0400 Subject: [PATCH] Fix pokedex audio --- commands/pokedex/pokedex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/pokedex/pokedex.js b/commands/pokedex/pokedex.js index 377d564d..9680ee34 100644 --- a/commands/pokedex/pokedex.js +++ b/commands/pokedex/pokedex.js @@ -112,7 +112,7 @@ module.exports = class PokedexCommand extends Command { .addField('❯ Gender Rate', pokemon.genderRate.genderless ? 'Genderless' : `♂️ ${pokemon.genderRate.male}% ♀️ ${pokemon.genderRate.female}%`); - if (msg.guild && pokemon.cry && !this.client.dispatchers.has(msg.guild.id)) { + if (msg.guild && pokemon.cry) { const connection = msg.guild ? this.client.dispatchers.get(msg.guild.id) : null; if (connection) { connection.play(pokemon.cry);