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:
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);
|
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
Reference in a new issue