diff options
| author | 8cy <[email protected]> | 2020-07-16 20:57:48 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-07-16 20:57:48 -0700 |
| commit | 2e1b817d75240022f946a2411b3935e2e3ad967a (patch) | |
| tree | 1d9ce170fc4607449de65631aa93656e211c8d63 /src/bot.ts | |
| parent | add auto water reaction (diff) | |
| download | dep-core-2e1b817d75240022f946a2411b3935e2e3ad967a.tar.xz dep-core-2e1b817d75240022f946a2411b3935e2e3ad967a.zip | |
convert water to lowercase
Diffstat (limited to 'src/bot.ts')
| -rw-r--r-- | src/bot.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -190,7 +190,7 @@ client.on('message', async msg => { // 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') + if (msg.content.toLowerCase().includes("water")) msg.react('731022085530583100') }); // Register client |