aboutsummaryrefslogtreecommitdiff
path: root/question_of_the_day
diff options
context:
space:
mode:
Diffstat (limited to 'question_of_the_day')
-rw-r--r--question_of_the_day/question_of_the_day.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/question_of_the_day/question_of_the_day.py b/question_of_the_day/question_of_the_day.py
index 3ad8472..21f41b3 100644
--- a/question_of_the_day/question_of_the_day.py
+++ b/question_of_the_day/question_of_the_day.py
@@ -298,8 +298,8 @@ class QuestionOfTheDay(commands.Cog):
ctx.guild
).suggested_questions() as suggested_questions:
if suggestion_id == "all":
- for i in range(len(suggested_questions)):
- await approve_suggestion(suggested_questions, i)
+ for _ in range(len(suggested_questions)):
+ await approve_suggestion(suggested_questions, 1)
await ctx.reply("Approved all suggestions!")
else:
approved_suggestion_text = await approve_suggestion(