3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Custom events permissions fix(?)

This commit is contained in:
Dragory 2021-08-20 20:23:30 +03:00
parent 220b28d484
commit bd2c51691a
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

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(),
);
/*