diff options
Diffstat (limited to 'commands/wahoo.js')
| -rw-r--r-- | commands/wahoo.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/commands/wahoo.js b/commands/wahoo.js deleted file mode 100644 index a6e7c96..0000000 --- a/commands/wahoo.js +++ /dev/null @@ -1,21 +0,0 @@ -const voice_check_dialog = require('../utils/voice_check_dialog.js'); - -module.exports = { - name: 'wahoo', - aliases: ['mario'], - description: '', - async execute(msg, args, bot) { - if (msg.member.voiceChannel && !msg.guild.voiceConnection) { - const connection = await msg.member.voiceChannel.join(); - const dispatcher = connection.playFile('./assets/audio/wahoo.mp3', { - volume: 1.0 - }); - - dispatcher.on('end', () => { - msg.member.voiceChannel.leave(); - }); - } else { - voice_check_dialog.execute(msg); - } - } -};
\ No newline at end of file |