forked from Galactic/galactic-bot
fix
This commit is contained in:
parent
9d70400a30
commit
4c5605f4e4
@ -260,7 +260,7 @@ class MuteSetting extends Setting {
|
||||
|
||||
const configuration = channel.type === ChannelType.GuildText
|
||||
? { permissions: { SendMessages: false, AddReactions: false }, bitwise: 0x800n }
|
||||
: { permissions: { CONNECT: false, SendMessages: false, AddReactions: false }, bitwise: 0x100000n };
|
||||
: { permissions: { Connect: false, SendMessages: false, AddReactions: false }, bitwise: 0x100000n };
|
||||
|
||||
try {
|
||||
await channel.permissionOverwrites.create(role, configuration.permissions, { reason: super.reason(user) });
|
||||
|
Loading…
Reference in New Issue
Block a user