1
0
Fork 0

Don't send message when missing perm

akairo
loicbersier 5 years ago
parent 868779edf7
commit 4e86a6f3c5

@ -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…
Cancel
Save