summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSin <[email protected]>2020-07-20 23:43:24 -0700
committerGitHub <[email protected]>2020-07-20 23:43:24 -0700
commit96a912b1ab958496fcd9d1b554d30d9523089e62 (patch)
tree05e2621a78763ce7a6db4e6843a5c407181fbd6e /src
parentimprovement: delete msg before spoiler (diff)
downloaddep-core-96a912b1ab958496fcd9d1b554d30d9523089e62.tar.xz
dep-core-96a912b1ab958496fcd9d1b554d30d9523089e62.zip
improvement: with f when some1 leaves server
this was done on my phone lmao, also update the version number once off phone
Diffstat (limited to 'src')
-rw-r--r--src/bot.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bot.ts b/src/bot.ts
index 776144b..1c356f3 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 the server! ${emoji.random()}`)
+ member.guild.channels.cache.get(guild.channelID)?.send(`<@${member.id}> has left the server! ${emoji.random()}`).then(m => m.react('🇫'));
} else {
return
}