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

Update logAndDetectOtherSpam.ts

This commit is contained in:
Shoaib Sajid 2021-05-27 16:49:34 +05:00 committed by GitHub
parent ee0007fa6c
commit 02b8856126
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ export async function logAndDetectOtherSpam(
},
},
spamConfig.remove_roles_on_mute,
spamConfig.restore_roles_on_mute,
spamConfig.restore_roles_on_unmute,
);
} catch (e) {
if (e instanceof RecoverablePluginError && e.code === ERRORS.NO_MUTE_ROLE_IN_CONFIG) {