From d214c673b029cd89db3ebd1588a7f6ba58085591 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Thu, 12 Dec 2024 09:35:20 -0500 Subject: question_of_the_day: actually fix pluralisation --- question_of_the_day/question_of_the_day.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'question_of_the_day') diff --git a/question_of_the_day/question_of_the_day.py b/question_of_the_day/question_of_the_day.py index 8b8fa04..b812e81 100644 --- a/question_of_the_day/question_of_the_day.py +++ b/question_of_the_day/question_of_the_day.py @@ -368,7 +368,8 @@ class QuestionOfTheDay(commands.Cog): name="Question of the Day", icon_url=f"attachment://{ICON_PATH.name}", ) - footer = f"{questions_len - 1} question{'' if questions_len == 1 else 's'} left | " + questions_left = questions_len - 1 + footer = f"{questions_left} question{'' if questions_left == 1 else 's'} left | " suggestions_count = len( await self.config.guild(guild).suggested_questions() ) -- cgit v1.2.3-57-g22cb