summaryrefslogtreecommitdiff
path: root/src/bot.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bot.ts')
-rw-r--r--src/bot.ts10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/bot.ts b/src/bot.ts
index 7202443..028e063 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -186,11 +186,13 @@ client.on('message', async msg => {
}
// If a message mentions everyone, react with a random emoji
- if (msg.mentions.everyone) {
- msg.react(emoji.random());
- }
+ if (msg.mentions.everyone) msg.react(emoji.random());
+
+ // If a message is in Kat's Korner and it mentions the word water, react with LizardsWater emoji.
+ if (msg.guild?.id == '663964105983393793')
+ if (msg.content.includes("water")) msg.react('731022085530583100')
});
// Register client
client.login(config['secret']);
-//client.login(config['secret-dev']); \ No newline at end of file
+//client.login(config['secret-dev']);