mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 22:21:51 +00:00
Update logAndDetectMessageSpam.ts
This commit is contained in:
parent
32cf27884a
commit
c75312329b
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ export async function logAndDetectMessageSpam(
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
spamConfig.remove_roles_on_mute,
|
spamConfig.remove_roles_on_mute,
|
||||||
spamConfig.restore_roles_on_mute,
|
spamConfig.restore_roles_on_unmute,
|
||||||
);
|
);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e instanceof RecoverablePluginError && e.code === ERRORS.NO_MUTE_ROLE_IN_CONFIG) {
|
if (e instanceof RecoverablePluginError && e.code === ERRORS.NO_MUTE_ROLE_IN_CONFIG) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue