From 4df9bda26f9d9b7ac208c312c785e3b9d3c2ea3c Mon Sep 17 00:00:00 2001 From: Shadow Date: Thu, 31 Oct 2024 12:18:33 -0400 Subject: [PATCH] Prevent pinging team members with reaction removals (#853) --- src/discord/events/messageReactionRemove.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discord/events/messageReactionRemove.ts b/src/discord/events/messageReactionRemove.ts index e3df34fa0..9a05658ed 100644 --- a/src/discord/events/messageReactionRemove.ts +++ b/src/discord/events/messageReactionRemove.ts @@ -14,7 +14,7 @@ export const messageReactionRemove: MessageReactionRemoveEvent = { async execute(reaction, user) { // Only run on Tripsit, we don't want to snoop on other guilds ( ͡~ ͜ʖ ͡°) if (reaction.message.guild?.id !== env.DISCORD_GUILD_ID) return; - log.info(F, `${user} removed a reaction`); + log.info(F, `${user.displayName}(${user.id}) removed a reaction`); // log.debug(F, `reaction: ${JSON.stringify(reaction.emoji.name, null, 2)}`); // log.debug(F, `user: ${JSON.stringify(user, null, 2)}`);