forked from Supositware/Haha-Yes
Remove play command as im unsattisfied with it
This commit is contained in:
parent
08319201cd
commit
b756a08202
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@ class playCommand extends Command {
|
|||
super('play', {
|
||||
aliases: ['play'],
|
||||
category: 'utility',
|
||||
clientPermissions: ['SEND_MESSAGES', 'SPEAK'],
|
||||
clientPermissions: ['SEND_MESSAGES', 'SPEAK', 'CONNECT'],
|
||||
args: [
|
||||
{
|
||||
id: 'ytblink',
|
||||
|
@ -26,6 +26,7 @@ class playCommand extends Command {
|
|||
}
|
||||
|
||||
async exec(message, args) {
|
||||
if(!message.channel.permissionsFor(this.client.user).has('CONNECT')) return message.channel.send('Im missing the required permissions for this command!, `VOICE_JOIN_CHANNEL`');
|
||||
const voiceChannel = message.member.voice.channel;
|
||||
|
||||
// If not in voice channel ask user to join
|
Loading…
Reference in a new issue