From 0ef3c83f4049227c08731e3f31e53c38e1da5957 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sat, 19 Jun 2021 18:30:58 +0530 Subject: * Radio Bot Implementation --- src/commands/stop.js | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/commands/stop.js (limited to 'src/commands/stop.js') diff --git a/src/commands/stop.js b/src/commands/stop.js deleted file mode 100644 index 0c5e3df..0000000 --- a/src/commands/stop.js +++ /dev/null @@ -1,17 +0,0 @@ -async function stopMusik(client,message) { - const voiceChannel = message.member.voice.channel; - - if (!voiceChannel) { - return message.channel.send("Join a voice channel to Execute this command"); - } - - await voiceChannel.leave(); - await message.channel.send("Stoping Music... Baye Baye.... 😅"); - client.user.setPresence({ activity: { name: `COMMANDS`, type: 'LISTENING' } }); -} - -module.exports = { - execute(client,message, args) { - stopMusik(client, message); - } -} \ No newline at end of file -- cgit v1.2.3