mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix pokedex audio
This commit is contained in:
@@ -112,7 +112,7 @@ module.exports = class PokedexCommand extends Command {
|
|||||||
.addField('❯ Gender Rate', pokemon.genderRate.genderless
|
.addField('❯ Gender Rate', pokemon.genderRate.genderless
|
||||||
? 'Genderless'
|
? 'Genderless'
|
||||||
: `♂️ ${pokemon.genderRate.male}% ♀️ ${pokemon.genderRate.female}%`);
|
: `♂️ ${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;
|
const connection = msg.guild ? this.client.dispatchers.get(msg.guild.id) : null;
|
||||||
if (connection) {
|
if (connection) {
|
||||||
connection.play(pokemon.cry);
|
connection.play(pokemon.cry);
|
||||||
|
|||||||
Reference in New Issue
Block a user