From f8a001f4dae5d5698f5b92d4c27a5acc4a6ab741 Mon Sep 17 00:00:00 2001 From: janderedev Date: Wed, 16 Mar 2022 21:54:09 +0100 Subject: [PATCH] troll 74 --- bot/src/bot/modules/event_handler.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/bot/src/bot/modules/event_handler.ts b/bot/src/bot/modules/event_handler.ts index d2460b4..f8ac8b8 100644 --- a/bot/src/bot/modules/event_handler.ts +++ b/bot/src/bot/modules/event_handler.ts @@ -8,7 +8,16 @@ import { DEFAULT_PREFIX } from "./command_handler"; // Listen to system messages client.on('message', async message => { - if (typeof message.content != 'object') return; + if (typeof message.content != 'object') { + // reply to 74 + if (message.author_id == '01FCXF8V6RDKHSQ3AHJ410AASX' && message.content == 'we do a little') { + try { + message.reply('shut the fuck up'); + } catch(e) { console.error(e) } + } + + return; + } let sysMsg = message.asSystemMessage;