mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-23 09:35:02 +00:00
Update backend/src/plugins/Automod/actions/changeRoles.ts
Co-authored-by: Almeida <almeidx@pm.me>
This commit is contained in:
parent
d660adb528
commit
f7bf7b3c4e
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ export const ChangeRolesAction = automodAction({
|
|||
|
||||
if (rolesWeCannotRemove.length) {
|
||||
const roleNamesWeCannotRemove = rolesWeCannotRemove.map(
|
||||
roleId => pluginData.guild.roles.cache.get(roleId as Snowflake)?.name || roleId,
|
||||
roleId => pluginData.guild.roles.cache.get(roleId)?.name || roleId,
|
||||
);
|
||||
const logs = pluginData.getPlugin(LogsPlugin);
|
||||
logs.logBotAlert({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue