fix: increase massban ban event ignore time
This commit is contained in:
parent
2fd5bb3d17
commit
d7c6e34695
1 changed files with 2 additions and 2 deletions
|
@ -91,8 +91,8 @@ export const MassbanCmd = modActionsCmd({
|
||||||
try {
|
try {
|
||||||
// Ignore automatic ban cases and logs
|
// Ignore automatic ban cases and logs
|
||||||
// We create our own cases below and post a single "mass banned" log instead
|
// We create our own cases below and post a single "mass banned" log instead
|
||||||
ignoreEvent(pluginData, IgnoredEventType.Ban, userId, 120 * 1000);
|
ignoreEvent(pluginData, IgnoredEventType.Ban, userId, 30 * MINUTES);
|
||||||
pluginData.state.serverLogs.ignoreLog(LogType.MEMBER_BAN, userId, 120 * 1000);
|
pluginData.state.serverLogs.ignoreLog(LogType.MEMBER_BAN, userId, 30 * MINUTES);
|
||||||
|
|
||||||
await pluginData.guild.bans.create(userId as Snowflake, {
|
await pluginData.guild.bans.create(userId as Snowflake, {
|
||||||
days: deleteDays,
|
days: deleteDays,
|
||||||
|
|
Loading…
Add table
Reference in a new issue