Update new.js

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

View File

@ -97,6 +97,10 @@ module.exports = {
id: guild.roles.everyone, id: 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: message.member, id: message.member,
allow: ['VIEW_CHANNEL', 'SEND_MESSAGES', 'ATTACH_FILES', 'READ_MESSAGE_HISTORY'] allow: ['VIEW_CHANNEL', 'SEND_MESSAGES', 'ATTACH_FILES', 'READ_MESSAGE_HISTORY']