mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2026-10-13 17:54:28 +00:00
DIspatcher nullable in maintenance command
This commit is contained in:
1 parent
84a780723e
commit
490b2f1792
1 file changed
+1
-1
@@ -27,7 +27,7 @@ module.exports = {
|
||||
|
||||
if(currentRadio){
|
||||
client.funcs.statisticsUpdate(client, currentRadio.currentGuild.guild, currentRadio);
|
||||
currentRadio.connection.dispatcher.destroy();
|
||||
currentRadio.connection.dispatcher?.destroy();
|
||||
currentRadio.voiceChannel.leave();
|
||||
const cembed = new Discord.MessageEmbed()
|
||||
.setTitle(client.messages.maintenanceTitle)
|
||||
|
||||
Reference in new issue
Block a user