diff options
Diffstat (limited to 'utils/voice_check.js')
| -rw-r--r-- | utils/voice_check.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/utils/voice_check.js b/utils/voice_check.js new file mode 100644 index 0000000..cae410e --- /dev/null +++ b/utils/voice_check.js @@ -0,0 +1,19 @@ +const { Command } = require('discord.js-commando'); + +module.exports = class VoiceCheckDialog extends Command { + constructor(client) { + super(client, { + name: 'voice_check_dialog', + group: 'utils', + memberName: 'voice_check_dialog', + description: '', + }); + } + run(msg) { + if (msg.guild.voice) { + msg.reply('i\'m already playing that lol'); + } else { + msg.reply('you need to join a voice channel first silly'); + } + } +};
\ No newline at end of file |