From 41a983429cc885819d21b2ac5235bd81723155a1 Mon Sep 17 00:00:00 2001 From: I-am-TURBO Date: Fri, 26 Apr 2024 09:06:22 -0500 Subject: [PATCH] returned code to normal TESTING FINISHED --- src/mahoji/lib/abstracted_commands/fishingContestCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mahoji/lib/abstracted_commands/fishingContestCommand.ts b/src/mahoji/lib/abstracted_commands/fishingContestCommand.ts index b43a788d9bd..f07ee2247c8 100644 --- a/src/mahoji/lib/abstracted_commands/fishingContestCommand.ts +++ b/src/mahoji/lib/abstracted_commands/fishingContestCommand.ts @@ -65,7 +65,7 @@ export async function fishingContestStartCommand(user: MUser, channelID: string, } const result = await getUsersFishingContestDetails(user); - if (0) { + if (result.catchesFromToday.length > 0) { return `You already participated in the Fishing Contest today. You caught: ${result.catchesFromToday .map(i => `${i.name}(${i.length_cm / 100}m)`) .join(', ')}.`;