aboutsummaryrefslogtreecommitdiff
path: root/src/commands/stop.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/stop.js')
-rw-r--r--src/commands/stop.js17
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