From 2a04861aa3fb8b3e22fd3fdcb3ac5aed5eb85756 Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Mon, 13 Apr 2020 06:06:51 -0700 Subject: final final typescript lol --- src/commands/voice/moan.js | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/commands/voice/moan.js (limited to 'src/commands/voice/moan.js') diff --git a/src/commands/voice/moan.js b/src/commands/voice/moan.js deleted file mode 100644 index 03824e3..0000000 --- a/src/commands/voice/moan.js +++ /dev/null @@ -1,30 +0,0 @@ -const { Command } = require('discord.js-commando'); -const emoji = require('emoji-random'); - -module.exports = class MoanVoice extends Command { - constructor(client) { - super(client, { - name: 'moan', - aliases: ['uhhhh'], - group: 'voice', - memberName: 'moan', - description: 'uhhhh', - guildOnly: true, - examples: ['s5n!moan', 's5n!uhhhh'] - }); - } - async run(msg) { - if (msg.member.voice.channel && !msg.guild.voice) { - const connection = await msg.member.voice.channel.join(); - const dispatcher = connection.play('./assets/audio/uhhhh.wav'); - - dispatcher.on('finish', () => { - connection.disconnect(); - }); - } else if (msg.guild.voice) { - msg.reply('i\'m already playing that lol ' + emoji.random()); - } else { - msg.reply('you need to join a voice channel first silly ' + emoji.random()); - } - } -}; \ No newline at end of file -- cgit v1.2.3