diff options
| author | 8cy <[email protected]> | 2020-06-06 09:09:25 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-06-06 09:09:25 -0700 |
| commit | 9d9d024fb0d8c9105d625edebdefb0d5a23341db (patch) | |
| tree | 854cdbc5712434d26cca03439210716b1987470e /src/bot.ts | |
| parent | owner can remove darling, change website cmd url (diff) | |
| download | dep-core-9d9d024fb0d8c9105d625edebdefb0d5a23341db.tar.xz dep-core-9d9d024fb0d8c9105d625edebdefb0d5a23341db.zip | |
add whois, change versioning in package.json
make msgContent a const instead of a var in app.js
Diffstat (limited to 'src/bot.ts')
| -rw-r--r-- | src/bot.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -125,7 +125,7 @@ client.on('guildMemberRemove', member => { }) client.on('message', async msg => { - var msgContent = msg.content.toLowerCase(); + const msgContent = msg.content.toLowerCase(); function prefixCheck() { if (msgContent.startsWith('uwu!')) { return true; |