From 3e7aff5b1fa1e8b06bf14ea06b1dacec1ad0c6d2 Mon Sep 17 00:00:00 2001 From: Dragory Date: Thu, 2 Aug 2018 00:51:04 +0300 Subject: [PATCH] Spam config: muteTime -> mute_time --- src/plugins/Spam.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/Spam.ts b/src/plugins/Spam.ts index cf32e2da..f430aaa9 100644 --- a/src/plugins/Spam.ts +++ b/src/plugins/Spam.ts @@ -173,7 +173,7 @@ export class SpamPlugin extends Plugin { this.logs.ignoreLog(LogType.MEMBER_ROLE_ADD, msg.member.id); await modActionsPlugin.muteMember( msg.member, - spamConfig.muteTime ? spamConfig.muteTime * 1000 : 120 * 1000, + spamConfig.mute_time ? spamConfig.mute_time * 1000 : 120 * 1000, "Automatic spam detection" ); await modActionsPlugin.createCase(