Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
RedGuy12 authored and github-actions[bot] committed Jul 24, 2024
1 parent cbac2e1 commit 9cdd0eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/board/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ export async function syncRandomBoard(): Promise<void> {
const channel = await client.channels.fetch(info.channel).catch(() => void 0);
if (!channel?.isTextBased()) continue;

if (reactionsNeeded === undefined && info.reactions < boardReactionCount(channel))
continue;
if (reactionsNeeded === undefined && info.reactions < boardReactionCount(channel)) continue;

const message = await channel.messages.fetch(info.source).catch(() => void 0);
const reaction = message?.reactions.resolve(BOARD_EMOJI);
Expand Down

0 comments on commit 9cdd0eb

Please sign in to comment.