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:
parent
ed8a5cc9ec
commit
549fbc15f9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue