summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author8cy <[email protected]>2020-07-16 20:57:48 -0700
committer8cy <[email protected]>2020-07-16 20:57:48 -0700
commit2e1b817d75240022f946a2411b3935e2e3ad967a (patch)
tree1d9ce170fc4607449de65631aa93656e211c8d63
parentadd auto water reaction (diff)
downloaddep-core-2e1b817d75240022f946a2411b3935e2e3ad967a.tar.xz
dep-core-2e1b817d75240022f946a2411b3935e2e3ad967a.zip
convert water to lowercase
-rw-r--r--src/bot.ts2
-rw-r--r--src/config.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bot.ts b/src/bot.ts
index 028e063..e4635f8 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -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
diff --git a/src/config.json b/src/config.json
index ea7f89a..e64ceaa 100644
--- a/src/config.json
+++ b/src/config.json
@@ -2,7 +2,7 @@
"secret":"Njk5NDczMjYzOTk4MjcxNDg5.XpU5oQ.btZuxVudhNllSQY6CxrXXtMJm9A",
"secret-dev":"NzEyMDg4MzY5MjA2OTE5MjY5.XsMeEw.Yy0a8m2vZLDbPi7cZ8aqCalMR68",
"yt-api-key":"AIzaSyCeG1lQAeInv4vjFv_eTL9IFAFNdQC9Nk8",
- "version":"1.10.32",
+ "version":"1.10.33",
"fortniteTrackerNetworkToken": "4cf21f95-5f1a-412a-b4a7-e5424adc314a",
"mongodburi": "mongodb://sin:[email protected]:47107/heroku_4qrjvmb9"
}