summaryrefslogtreecommitdiff
path: root/commands/reboot.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/reboot.js')
-rw-r--r--commands/reboot.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/commands/reboot.js b/commands/reboot.js
deleted file mode 100644
index b4eb7f6..0000000
--- a/commands/reboot.js
+++ /dev/null
@@ -1,26 +0,0 @@
-const bvc = require('../utils/bot_voice_check.js');
-
-module.exports = {
- name: 'reboot',
- aliases: ['r', 're'],
- description: '',
- execute(msg, args, bot) {
- if (args[0] == 'voice' || args[0] == 'v') {
- if (!msg.member.voiceChannel) {
- msg.reply('you need to be in a voice channel to reboot the voice module');
- } else if (!bvc.execute(msg)) {
- msg.member.voiceChannel.join();
- msg.member.voiceChannel.leave();
- msg.reply('voice module reboot finished lol');
- } else if (bvc.execute(msg)) {
- msg.member.voiceChannel.leave();
- msg.member.voiceChannel.join();
- msg.reply('voice module reboot finished lol');
- }
- } else if (args[0] == 'commands' || args[0] == 'commands' || args[0] == 'cmds' || args[0] == 'cmd' || args[0] == 'c') {
- msg.reply('commands module reboot finished lol');
- } else if (!args.length) {
- msg.reply('no module(s) specified');
- }
- }
-}; \ No newline at end of file