aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: