diff --git a/cogs/dpy.py b/cogs/dpy.py index b0b16bc0..2acccbbe 100644 --- a/cogs/dpy.py +++ b/cogs/dpy.py @@ -223,6 +223,9 @@ async def auto_archive_old_forum_threads(self): if thread.archived or thread.flags.pinned: continue + if thread.owner not in thread.members or thread.owner is None: # shouldnt need to check cache + await thread.edit(archived=True, reason='Auto-archived because OP left the thread.') + if thread.last_message_id is None: continue