mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-23 01:25:02 +00:00
Update backend/src/plugins/Automod/actions/changeRoles.ts
Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
parent
1fdc24a92f
commit
61c7189851
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ export const ChangeRolesAction = automodAction({
|
|||
ignoreRoleChange(pluginData, member.id, roleId);
|
||||
}
|
||||
for (const roleId of rolesToRemove) {
|
||||
memberRoles.delete(roleId as Snowflake);
|
||||
memberRoles.delete(roleId);
|
||||
ignoreRoleChange(pluginData, member.id, roleId);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue