mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-16 22:55:03 +00:00
Spam config: muteTime -> mute_time
This commit is contained in:
parent
3e5f182aaf
commit
e984fe89e5
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);
|
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(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue