mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Fix
This commit is contained in:
@@ -21,6 +21,7 @@ module.exports = class StopCommand extends Command {
|
|||||||
return msg.reply(`I am not currently playing audio in this server.`);
|
return msg.reply(`I am not currently playing audio in this server.`);
|
||||||
}
|
}
|
||||||
this.client.dispatchers.get(msg.guild.id).stop();
|
this.client.dispatchers.get(msg.guild.id).stop();
|
||||||
|
this.client.dispatchers.delete(msg.guild.id);
|
||||||
return msg.reply('Stopped playing.');
|
return msg.reply('Stopped playing.');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user