aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjun Satarkar <me@arjunsatarkar.net>2024-12-12 14:35:20 +0000
committerArjun Satarkar <me@arjunsatarkar.net>2024-12-12 14:35:20 +0000
commitd214c673b029cd89db3ebd1588a7f6ba58085591 (patch)
tree49e58d69c01612dde215c637f383ab63b5250e05
parent07a854081d937867a161211fee58b9a12750f8d4 (diff)
downloadaps-cogs-d214c673b029cd89db3ebd1588a7f6ba58085591.tar
aps-cogs-d214c673b029cd89db3ebd1588a7f6ba58085591.tar.gz
aps-cogs-d214c673b029cd89db3ebd1588a7f6ba58085591.zip
question_of_the_day: actually fix pluralisation
-rw-r--r--question_of_the_day/question_of_the_day.py3
1 files changed, 2 insertions, 1 deletions
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()
)