Skip to content

Commit

Permalink
don't care if the message was deleted before reacting
Browse files Browse the repository at this point in the history
  • Loading branch information
Techbot121 authored and Meta Construct committed Oct 31, 2023
1 parent b13266b commit ef42d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/discord/modules/shitposting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ export default async (bot: DiscordBot) => {
(rng <= REACTION_FREQ ||
(!isAllowedChannel && (isTriggerWord || isMaybeTriggerWord || isMention)))
) {
setTimeout(async () => msg.react(getRandomEmoji()), 1000 * 10);
setTimeout(async () => msg.react(getRandomEmoji()).catch(), 1000 * 10);
}

// Chatting
Expand Down

0 comments on commit ef42d52

Please sign in to comment.