summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author8cy <[email protected]>2020-07-21 18:48:33 -0700
committer8cy <[email protected]>2020-07-21 18:48:33 -0700
commit12489b06fc6fcd5a0a67c29f499d386f88da8153 (patch)
treedc77000d08eea4be4e6980433cd3944b9dfe1442 /src
parentMerge branch 'master' of https://github.com/8cy/uwufier (diff)
downloaddep-core-12489b06fc6fcd5a0a67c29f499d386f88da8153.tar.xz
dep-core-12489b06fc6fcd5a0a67c29f499d386f88da8153.zip
fix: goodbye cmd now shows users assumed usernames
Diffstat (limited to 'src')
-rw-r--r--src/bot.ts2
-rw-r--r--src/config.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bot.ts b/src/bot.ts
index ab5cdba..b96bbd9 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -155,7 +155,7 @@ client.on('guildMemberRemove', member => {
return
} else if (guild) {
// @ts-ignore linting error shows that channelID doesnt exist when it does
- member.guild.channels.cache.get(guild.channelID)?.send(`<@${member.id}> has left **${member.guild.name}** the server! ` + emoji.random())
+ member.guild.channels.cache.get(guild.channelID)?.send(`<@${member.id}> (${member.user.username}) has left **${member.guild.name}** the server! ` + emoji.random())
} else {
return
}
diff --git a/src/config.json b/src/config.json
index 28b9ade..8a95606 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.41",
+ "version":"1.10.42",
"fortniteTrackerNetworkToken": "4cf21f95-5f1a-412a-b4a7-e5424adc314a",
"mongodburi": "mongodb://sin:[email protected]:47107/heroku_4qrjvmb9",
"validUsers": [