summaryrefslogtreecommitdiff
path: root/src/bot.ts
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 /src/bot.ts
parentperms, aliases, ugycat (diff)
downloaddep-core-0f43c65f10bffbb7d9e576dd8e9e6f9df5255f5a.tar.xz
dep-core-0f43c65f10bffbb7d9e576dd8e9e6f9df5255f5a.zip
fix ugycat react method and make its simpliter accidentaly
Diffstat (limited to 'src/bot.ts')
-rw-r--r--src/bot.ts11
1 files changed, 2 insertions, 9 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')
}
});