From 8da1f916b43e01d1edc982236646c7e364bd782d Mon Sep 17 00:00:00 2001 From: Isaac Date: Wed, 2 Sep 2020 13:42:15 +0100 Subject: [PATCH] Update messageReactionAdd.js --- src/events/messageReactionAdd.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/events/messageReactionAdd.js b/src/events/messageReactionAdd.js index 36b0c9c..a1c212e 100644 --- a/src/events/messageReactionAdd.js +++ b/src/events/messageReactionAdd.js @@ -115,6 +115,10 @@ module.exports = { id: channel.guild.roles.everyone, deny: ['VIEW_CHANNEL', 'SEND_MESSAGES'] }, + { + id: client.user, + allow: ['VIEW_CHANNEL', 'SEND_MESSAGES', 'ATTACH_FILES', 'READ_MESSAGE_HISTORY'] + }, { id: channel.guild.member(u), allow: ['VIEW_CHANNEL', 'SEND_MESSAGES', 'ATTACH_FILES', 'READ_MESSAGE_HISTORY'] @@ -197,4 +201,4 @@ module.exports = { }).catch(log.error); } -}; \ No newline at end of file +};