summaryrefslogtreecommitdiff
path: root/utils/voice_check.js
blob: cae410ea8ce5d654bbb049ae4d0158f0ef6a3726 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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');
		}
	}
};