diff options
| -rw-r--r-- | bot/exts/utils/thread_bumper.py | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/utils/thread_bumper.py b/bot/exts/utils/thread_bumper.py index 6bd9efc08..8d0ebdf1c 100644 --- a/bot/exts/utils/thread_bumper.py +++ b/bot/exts/utils/thread_bumper.py @@ -71,7 +71,8 @@ class ThreadBumper(commands.Cog):              if thread.archived:                  threads_to_maybe_bump.append(thread) -        await self.unarchive_threads_not_manually_archived(threads_to_maybe_bump) +        if threads_to_maybe_bump: +            await self.unarchive_threads_not_manually_archived(threads_to_maybe_bump)      @commands.group(name="bump")      async def thread_bump_group(self, ctx: commands.Context) -> None:  |