Don't send message when missing perm
This commit is contained in:
parent
868779edf7
commit
4e86a6f3c5
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class missingPermissionsListener extends Listener {
|
|||
switch(type) {
|
||||
case 'client':
|
||||
if (missing == 'SEND_MESSAGES') {
|
||||
return message.author.send(`Im missing the required permissions for this command!, \`${missing}\``);
|
||||
return;
|
||||
} else {
|
||||
message.reply(`Im missing the required permissions for this command!, \`${missing}\``);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue