From 4ae42acfb779fc145666618488c378fdc689afe3 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Sun, 24 Dec 2023 16:40:29 +0530 Subject: question_of_the_day: fix qotd approve all --- question_of_the_day/question_of_the_day.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'question_of_the_day/question_of_the_day.py') 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( -- cgit v1.2.3-57-g22cb