We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 699afc1 commit a81e8b4Copy full SHA for a81e8b4
1 file changed
src/commands/error.ts
@@ -1,10 +1,13 @@
1
import type { MessageCommand } from "./command.js";
2
+import type { ProcessableMessage } from "@/service/command.js";
3
+import type { BotContext } from "@/context.js";
4
5
export default class ErrorCommand implements MessageCommand {
6
name = "feler";
7
description = "Macht ne exception. Mehr nicht.";
8
- async handleMessage() {
- throw new Error("Fehler!");
9
+ async handleMessage(_: ProcessableMessage, context: BotContext): Promise<void> {
10
+ (await import("../service/lootDegradation.js")).runHalfLife(context);
11
+ // throw new Error("Fehler!");
12
}
13
0 commit comments