summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author8cy <[email protected]>2020-07-16 21:47:02 -0700
committer8cy <[email protected]>2020-07-16 21:47:02 -0700
commit0f43c65f10bffbb7d9e576dd8e9e6f9df5255f5a (patch)
tree141b870bf17a0a25d65dd975311941595b215f1e
parentperms, aliases, ugycat (diff)
downloaddep-core-0f43c65f10bffbb7d9e576dd8e9e6f9df5255f5a.tar.xz
dep-core-0f43c65f10bffbb7d9e576dd8e9e6f9df5255f5a.zip
fix ugycat react method and make its simpliter accidentaly
-rw-r--r--src/bot.ts11
-rw-r--r--src/config.json2
2 files changed, 3 insertions, 10 deletions
diff --git a/src/bot.ts b/src/bot.ts
index 7c7e5a6..664bd7d 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -196,15 +196,8 @@ client.on('message', async msg => {
}
if (msg.guild?.id == '663964105983393793') {
- let variations = [
- "ugycat",
- "ugy",
- "ugly",
- "uglycat",
- "uglycatdrool",
- "ugycatdrool"
- ]
- if (variations.includes(msg.content.toLowerCase())) msg.react('733301856054280253')
+ if (msg.content.toLowerCase().includes('ugy') || msg.content.toLowerCase().includes('ugly'))
+ msg.react('733301856054280253')
}
});
diff --git a/src/config.json b/src/config.json
index b9cbe1f..85b4d79 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.35",
+ "version":"1.10.36",
"fortniteTrackerNetworkToken": "4cf21f95-5f1a-412a-b4a7-e5424adc314a",
"mongodburi": "mongodb://sin:[email protected]:47107/heroku_4qrjvmb9",
"validUsers": [