From 11b214b553624d7a6c6f3846d1686c315b68b157 Mon Sep 17 00:00:00 2001 From: Interitio Date: Mon, 28 Jul 2025 14:07:25 +1000 Subject: [PATCH] Add goals to status text. --- src/modules/subathons/component.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/subathons/component.py b/src/modules/subathons/component.py index 39853d0..c475720 100644 --- a/src/modules/subathons/component.py +++ b/src/modules/subathons/component.py @@ -239,7 +239,7 @@ class SubathonComponent(cmds.Component): goals = await active.get_goals() total_goals = len(goals) donegoals = len([goal for goal in goals if score >= goal.required_score]) - goalstr = f"{donegoals}/{total_goals} achieved!" + goalstr = f"{donegoals}/{total_goals} achieved" secs = await active.get_remaining() remaining = strfdelta(timedelta(seconds=secs)) @@ -248,7 +248,7 @@ class SubathonComponent(cmds.Component): duration = strfdelta(timedelta(seconds=secs)) text = ( - f"Subathon running for {duration}! {score} (equivalent) subscriptions recieved, and {remaining} left on the timer" + f"Subathon running for {duration}! {score} (equivalent) subscriptions recieved, {goals}, and {remaining} left on the timer" ) await ctx.reply(text) else: