Skip to content

Commit

Permalink
add handler for a totally harmless feature (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
taranvohra authored Apr 8, 2024
1 parent 95022e8 commit 88c71ea
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down Expand Up @@ -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(
[
Expand Down

0 comments on commit 88c71ea

Please sign in to comment.