diff options
| author | 8cy <[email protected]> | 2020-07-16 21:47:02 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-07-16 21:47:02 -0700 |
| commit | 0f43c65f10bffbb7d9e576dd8e9e6f9df5255f5a (patch) | |
| tree | 141b870bf17a0a25d65dd975311941595b215f1e /src/bot.ts | |
| parent | perms, aliases, ugycat (diff) | |
| download | dep-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.ts | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -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') } }); |