Skip to content

Commit

Permalink
Prevent pinging team members with reaction removals (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
theimperious1 authored Oct 31, 2024
1 parent c6a9be8 commit 4df9bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/discord/events/messageReactionRemove.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`);
Expand Down

0 comments on commit 4df9bda

Please sign in to comment.