summary refs log tree commit diff
path: root/src/util/automod/AutomodExecutor.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-17 09:58:25 +0100
committerRory& <root@rory.gay>2025-12-17 11:04:16 +0100
commit11973397c812da59c2d544047bbb2d2d9ae583a7 (patch)
tree3e2064c4f6ff306241910dbfb877c03f46f935aa /src/util/automod/AutomodExecutor.ts
parentFix extension cleanup stuff from Mathium05 (diff)
downloadserver-ts-dev/emma-wip.tar.xz
Diffstat (limited to 'src/util/automod/AutomodExecutor.ts')
-rw-r--r--src/util/automod/AutomodExecutor.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/automod/AutomodExecutor.ts b/src/util/automod/AutomodExecutor.ts

index cf3d32eb..63267a3c 100644 --- a/src/util/automod/AutomodExecutor.ts +++ b/src/util/automod/AutomodExecutor.ts
@@ -55,7 +55,9 @@ export class AutomodExecutor { result = await this.executeMemberInvocation(); } else throw new Error("Unsupported automod invocation type"); - console.log(`[Automod] Executed automod invocation of type ${invocation.eventType} in ${Date.now() - startTime}ms with ${matchingRules.length} matching rules. Result: ${result.blocked ? "blocked" : "allowed"}`); + console.log( + `[Automod] Executed automod invocation of type ${invocation.eventType} in ${Date.now() - startTime}ms with ${matchingRules.length} matching rules. Result: ${result.blocked ? "blocked" : "allowed"}`, + ); return result; }