diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2024-02-12 23:09:43 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2024-02-12 23:09:43 +0000 |
commit | ebfe5ff39980bc0e527581f80282cfd51891ba69 (patch) | |
tree | 3fef9885a88e10382ccbc477170a78b4aba18602 /question_of_the_day/question_of_the_day.py | |
parent | 5735dd0b55c6bf0e398d9f6ca78230871f36efab (diff) | |
download | aps-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.py | 2 |
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: |