diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2024-12-12 14:35:20 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2024-12-12 14:35:20 +0000 |
commit | d214c673b029cd89db3ebd1588a7f6ba58085591 (patch) | |
tree | 49e58d69c01612dde215c637f383ab63b5250e05 | |
parent | 07a854081d937867a161211fee58b9a12750f8d4 (diff) | |
download | aps-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.py | 3 |
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() ) |