diff --git a/backend/src/plugins/Automod/triggers/threadCreateSpam.ts b/backend/src/plugins/Automod/triggers/threadCreateSpam.ts index 79b568cb..7778ce80 100644 --- a/backend/src/plugins/Automod/triggers/threadCreateSpam.ts +++ b/backend/src/plugins/Automod/triggers/threadCreateSpam.ts @@ -30,7 +30,7 @@ export const ThreadCreateSpamTrigger = automodTrigger()({ const totalCount = sumRecentActionCounts(matchingActions); if (totalCount >= triggerConfig.amount) { - const extraContexts = matchingActions.map(a => a.context).filter(c => c !== context); + const extraContexts = matchingActions.map((a) => a.context).filter((c) => c !== context); pluginData.state.recentSpam.push({ type: RecentActionType.ThreadCreate, diff --git a/backend/tsconfig.json b/backend/tsconfig.json index 9ef0d6d5..011e0217 100644 --- a/backend/tsconfig.json +++ b/backend/tsconfig.json @@ -24,8 +24,5 @@ "useUnknownInCatchVariables": false, "allowJs": true }, - "include": [ - "src/**/*.ts", - "ormconfig.js" - ] + "include": ["src/**/*.ts", "ormconfig.js"] }