3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 16:55:03 +00:00

Custom events permissions fix(?)

This commit is contained in:
Dragory 2021-08-20 20:23:30 +03:00
parent 5fa9e0e83d
commit a0a44069a0

View file

@ -34,7 +34,7 @@ export async function setChannelPermissionOverridesAction(
for (const override of action.overrides) {
channel.permissionOverwrites.create(
override.id as Snowflake,
new Permissions(BigInt(override.allow)).add(BigInt(override.deny)).serialize(),
new Permissions(BigInt(override.allow)).remove(BigInt(override.deny)).serialize(),
);
/*