From a5631ca99af017c7d0e86f8424e17bbd3a7ba677 Mon Sep 17 00:00:00 2001 From: taranvohra Date: Mon, 8 Apr 2024 22:08:12 +0530 Subject: [PATCH] add handler for a totally harmless feature --- src/index.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index e62278ce..ce88f9bb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,6 +29,7 @@ import { scheduleTask } from "./helpers/schedule"; import { discordToken } from "./helpers/env"; import { registerCommand, deployCommands } from "./helpers/deploy-commands"; import resumeReviewPdf from "./features/resume-review"; +import troll from "./features/troll"; export const bot = new discord.Client({ intents: [ @@ -168,7 +169,13 @@ logger.add(channelLog(bot, CHANNELS.botLog)); setupStats(bot); // common -addHandler("*", [commands, autoban, emojiMod, tsPlaygroundLinkShortener]); +addHandler("*", [ + commands, + autoban, + emojiMod, + tsPlaygroundLinkShortener, + troll, +]); addHandler( [