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

Spam config: muteTime -> mute_time

This commit is contained in:
Dragory 2018-08-02 00:51:04 +03:00
parent 94c8e1cf43
commit 3e7aff5b1f

View file

@ -173,7 +173,7 @@ export class SpamPlugin extends Plugin {
this.logs.ignoreLog(LogType.MEMBER_ROLE_ADD, msg.member.id); this.logs.ignoreLog(LogType.MEMBER_ROLE_ADD, msg.member.id);
await modActionsPlugin.muteMember( await modActionsPlugin.muteMember(
msg.member, msg.member,
spamConfig.muteTime ? spamConfig.muteTime * 1000 : 120 * 1000, spamConfig.mute_time ? spamConfig.mute_time * 1000 : 120 * 1000,
"Automatic spam detection" "Automatic spam detection"
); );
await modActionsPlugin.createCase( await modActionsPlugin.createCase(