Spam config: muteTime -> mute_time
This commit is contained in:
parent
94c8e1cf43
commit
3e7aff5b1f
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue