From 4e86a6f3c530daf1d613d1159129725fdf148056 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Fri, 29 Nov 2019 22:29:56 +0100 Subject: [PATCH] Don't send message when missing perm --- event/listeners/missingPermissions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event/listeners/missingPermissions.js b/event/listeners/missingPermissions.js index a991d569..947f3c47 100644 --- a/event/listeners/missingPermissions.js +++ b/event/listeners/missingPermissions.js @@ -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}\``); }