From ebfe5ff39980bc0e527581f80282cfd51891ba69 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Mon, 12 Feb 2024 18:09:43 -0500 Subject: question_of_the_day: fix qotd approve all missing some suggestions --- question_of_the_day/question_of_the_day.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'question_of_the_day') 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: -- cgit v1.2.3-57-g22cb