Update permissionValidator.js

This commit is contained in:
Marius Begby authored and GitHub committed 2023-08-18 12:29:29 +02:00
1 parent 3658c94a95
commit 5434df7ecf
1 file changed
+1 -1
+1 -1
View File
@@ -50,7 +50,7 @@ exports.cannotSendMessageInChannel = async (interaction) => {
ephemeral: true
});
} catch (error) {
if(error.message == "The reply to this interaction has already been sent or deferred.") {
if(error.message == 'The reply to this interaction has already been sent or deferred.') {
logger.warn('Error while sending ephemereal message about insufficient permissions to send message in channel.');
logger.debug(error);
} else {