summaryrefslogtreecommitdiff
path: root/commands/leave.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/leave.js')
-rw-r--r--commands/leave.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/commands/leave.js b/commands/leave.js
deleted file mode 100644
index 03701be..0000000
--- a/commands/leave.js
+++ /dev/null
@@ -1,13 +0,0 @@
-module.exports = {
- name: 'leave',
- aliases: ['l'],
- description: '',
- execute(msg, args, bot) {
- if (msg.guild.voiceConnection) {
- msg.guild.voiceConnection.disconnect();
- msg.reply('succesfully left voice channel');
- } else {
- msg.reply('i\'m not in a voice channel');
- }
- }
-}; \ No newline at end of file