summaryrefslogtreecommitdiff
path: root/bot_discord.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2023-10-14 03:35:32 -0400
committerAndrew Lee <alee14498@protonmail.com>2023-10-14 03:35:32 -0400
commit2aaca5141ce7ba104fde3a91c2fc5f33047bec2f (patch)
tree3539352cb84941ade48ddfd746fff6e05d8e2706 /bot_discord.js
parentec2cebf5110c2e61b9debebebd9cd574175e1765 (diff)
downloadAleeBot-2aaca5141ce7ba104fde3a91c2fc5f33047bec2f.tar.gz
AleeBot-2aaca5141ce7ba104fde3a91c2fc5f33047bec2f.tar.bz2
AleeBot-2aaca5141ce7ba104fde3a91c2fc5f33047bec2f.zip
That was not meant to be in prod code
Diffstat (limited to 'bot_discord.js')
-rw-r--r--bot_discord.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot_discord.js b/bot_discord.js
index b32e018..0c09bfb 100644
--- a/bot_discord.js
+++ b/bot_discord.js
@@ -384,7 +384,7 @@ client.on('guildDelete', (guild) => {
if (!statusChannel) return;
statusChannel.send({ embeds: [logEmbed]});
});
-
+/*
client.on("messageReactionAdd", async (reaction, user) => {
// When a reaction is received, check if the structure is partial
if (reaction.partial) {
@@ -403,7 +403,7 @@ client.on("messageReactionAdd", async (reaction, user) => {
// The reaction is now also fully available and the properties will be reflected accurately:
console.log(`${reaction.count} user(s) have given the same reaction to this message!`);
});
-
+*/
client.on('messageCreate', async(msg) => {
if (!client.application?.owner) await client.application?.fetch();
if (msg.author.bot) return;