summaryrefslogtreecommitdiff
path: root/src/bot.ts
diff options
context:
space:
mode:
author8cy <[email protected]>2020-06-06 09:09:25 -0700
committer8cy <[email protected]>2020-06-06 09:09:25 -0700
commit9d9d024fb0d8c9105d625edebdefb0d5a23341db (patch)
tree854cdbc5712434d26cca03439210716b1987470e /src/bot.ts
parentowner can remove darling, change website cmd url (diff)
downloaddep-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.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bot.ts b/src/bot.ts
index 7900d7a..3e07da2 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -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;