aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-02-10 23:06:10 +0100
committerMinteck <contact@minteck.org>2022-02-10 23:06:10 +0100
commit38a17a51fd082c0f893e4d9f8a99330b073a2ade (patch)
tree7e21c353e82278b393a3d27d524031d89f40f7a3 /bot.js
parent479d8e692949877cbab10d72ef4a2c13e3ac1cdc (diff)
downloadponyfind-38a17a51fd082c0f893e4d9f8a99330b073a2ade.tar.gz
ponyfind-38a17a51fd082c0f893e4d9f8a99330b073a2ade.tar.bz2
ponyfind-38a17a51fd082c0f893e4d9f8a99330b073a2ade.zip
Fix: fixes the fix
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.js b/bot.js
index 1a40058..7605bf0 100644
--- a/bot.js
+++ b/bot.js
@@ -63,7 +63,7 @@ client.on('ready', async () => {
});
client.on('messageCreate', message => {
- if (message.content.trim() === "<@" + client.user.id + ">") {
+ if (message.content.trim() === "<@" + client.user.id + ">" || message.content.trim() === "<@!" + client.user.id + ">") {
message.reply(getHelp(message.guild, message.guild.id, message.author.id, true));
}
})