diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2023-12-24 11:10:29 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2023-12-24 11:10:29 +0000 |
commit | 4ae42acfb779fc145666618488c378fdc689afe3 (patch) | |
tree | 85294ce7007d7b3305e936e9235221f00de6cee8 | |
parent | 7ae6d4d2905b48c9bc566818396dd5f877156b3d (diff) | |
download | aps-cogs-4ae42acfb779fc145666618488c378fdc689afe3.tar aps-cogs-4ae42acfb779fc145666618488c378fdc689afe3.tar.gz aps-cogs-4ae42acfb779fc145666618488c378fdc689afe3.zip |
question_of_the_day: fix qotd approve all
-rw-r--r-- | question_of_the_day/question_of_the_day.py | 4 |
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( |