diff options
author | Indrajith K L | 2021-06-19 18:30:58 +0530 |
---|---|---|
committer | Indrajith K L | 2021-06-19 18:30:58 +0530 |
commit | 0ef3c83f4049227c08731e3f31e53c38e1da5957 (patch) | |
tree | 349b423111db5a8730864b8c555bb15564622377 /src/commands/stop.js | |
parent | caebd6b3e5315d3002107464b33ae7b6bf006800 (diff) | |
download | radio-bot-0ef3c83f4049227c08731e3f31e53c38e1da5957.tar.gz radio-bot-0ef3c83f4049227c08731e3f31e53c38e1da5957.tar.bz2 radio-bot-0ef3c83f4049227c08731e3f31e53c38e1da5957.zip |
* Radio Bot Implementation
Diffstat (limited to 'src/commands/stop.js')
-rw-r--r-- | src/commands/stop.js | 17 |
1 files changed, 0 insertions, 17 deletions
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 |