Skip to content

Commit a5631ca

Browse files
committed
add handler for a totally harmless feature
1 parent 95022e8 commit a5631ca

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/index.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import { scheduleTask } from "./helpers/schedule";
2929
import { discordToken } from "./helpers/env";
3030
import { registerCommand, deployCommands } from "./helpers/deploy-commands";
3131
import resumeReviewPdf from "./features/resume-review";
32+
import troll from "./features/troll";
3233

3334
export const bot = new discord.Client({
3435
intents: [
@@ -168,7 +169,13 @@ logger.add(channelLog(bot, CHANNELS.botLog));
168169
setupStats(bot);
169170

170171
// common
171-
addHandler("*", [commands, autoban, emojiMod, tsPlaygroundLinkShortener]);
172+
addHandler("*", [
173+
commands,
174+
autoban,
175+
emojiMod,
176+
tsPlaygroundLinkShortener,
177+
troll,
178+
]);
172179

173180
addHandler(
174181
[

0 commit comments

Comments
 (0)