aboutsummaryrefslogtreecommitdiff
path: root/question_of_the_day/question_of_the_day.py
diff options
context:
space:
mode:
authorArjun Satarkar <me@arjunsatarkar.net>2024-02-12 23:09:43 +0000
committerArjun Satarkar <me@arjunsatarkar.net>2024-02-12 23:09:43 +0000
commitebfe5ff39980bc0e527581f80282cfd51891ba69 (patch)
tree3fef9885a88e10382ccbc477170a78b4aba18602 /question_of_the_day/question_of_the_day.py
parent5735dd0b55c6bf0e398d9f6ca78230871f36efab (diff)
downloadaps-cogs-ebfe5ff39980bc0e527581f80282cfd51891ba69.tar
aps-cogs-ebfe5ff39980bc0e527581f80282cfd51891ba69.tar.gz
aps-cogs-ebfe5ff39980bc0e527581f80282cfd51891ba69.zip
question_of_the_day: fix qotd approve all missing some suggestions
Diffstat (limited to 'question_of_the_day/question_of_the_day.py')
-rw-r--r--question_of_the_day/question_of_the_day.py2
1 files changed, 1 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 9f92449..76286a1 100644
--- a/question_of_the_day/question_of_the_day.py
+++ b/question_of_the_day/question_of_the_day.py
@@ -295,7 +295,7 @@ class QuestionOfTheDay(commands.Cog):
ctx.guild
).suggested_questions() as suggested_questions:
if suggestion_id == "all":
- for _ in suggested_questions:
+ for _ in range(len(suggested_questions)):
try:
await approve_suggestion(suggested_questions, 1)
except (NoSuchSuggestionError, QuestionLimitReachedError) as e: