Update messageReactionAdd.js

This commit is contained in:
Isaac 2020-09-02 13:42:15 +01:00 committed by GitHub
parent 93fd5c5ed1
commit 8da1f916b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,6 +115,10 @@ module.exports = {
id: channel.guild.roles.everyone, id: channel.guild.roles.everyone,
deny: ['VIEW_CHANNEL', 'SEND_MESSAGES'] deny: ['VIEW_CHANNEL', 'SEND_MESSAGES']
}, },
{
id: client.user,
allow: ['VIEW_CHANNEL', 'SEND_MESSAGES', 'ATTACH_FILES', 'READ_MESSAGE_HISTORY']
},
{ {
id: channel.guild.member(u), id: channel.guild.member(u),
allow: ['VIEW_CHANNEL', 'SEND_MESSAGES', 'ATTACH_FILES', 'READ_MESSAGE_HISTORY'] allow: ['VIEW_CHANNEL', 'SEND_MESSAGES', 'ATTACH_FILES', 'READ_MESSAGE_HISTORY']