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

.edit instead of .create

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
metal 2022-04-23 13:32:42 +00:00 committed by GitHub
parent ed8a5cc9ec
commit 549fbc15f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ export const ChangePermsAction = automodAction({
await channel.permissionOverwrites.delete(target).catch(noop);
return;
}
await channel.permissionOverwrites.create(target, newPerms).catch(noop);
await channel.permissionOverwrites.edit(target, newPerms).catch(noop);
return;
}