summaryrefslogtreecommitdiff
path: root/commands/join.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/join.js')
-rw-r--r--commands/join.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/commands/join.js b/commands/join.js
deleted file mode 100644
index b07e6c7..0000000
--- a/commands/join.js
+++ /dev/null
@@ -1,15 +0,0 @@
-module.exports = {
- name: 'join',
- aliases: ['j'],
- description: '',
- execute(msg, args, bot) {
- if (!msg.guild.voiceConnection && msg.member.voiceChannel) {
- msg.member.voiceChannel.join();
- msg.reply('succesfully joined voice channel');
- } else if (msg.guild.voiceConnection) {
- msg.reply('i\'m already in voice channel');
- } else if (!msg.member.voiceChannel) {
- msg.reply('you\'re not in a voice channel');
- }
- }
-}; \ No newline at end of file