Custom events permissions fix(?)
This commit is contained in:
parent
220b28d484
commit
bd2c51691a
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export async function setChannelPermissionOverridesAction(
|
||||||
for (const override of action.overrides) {
|
for (const override of action.overrides) {
|
||||||
channel.permissionOverwrites.create(
|
channel.permissionOverwrites.create(
|
||||||
override.id as Snowflake,
|
override.id as Snowflake,
|
||||||
new Permissions(BigInt(override.allow)).add(BigInt(override.deny)).serialize(),
|
new Permissions(BigInt(override.allow)).remove(BigInt(override.deny)).serialize(),
|
||||||
);
|
);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue