From fa1773c008ff5b9b26c33ac0b51bb455742f251f Mon Sep 17 00:00:00 2001 From: Supakorn 'Jamie' Rassameemasmuang Date: Fri, 22 Dec 2023 13:30:57 -0700 Subject: [PATCH] DMCOMMS: Make handle_user_no_thread instance method. --- bot/cogs/dm_comms.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot/cogs/dm_comms.py b/bot/cogs/dm_comms.py index 9a4db2e..31ad932 100644 --- a/bot/cogs/dm_comms.py +++ b/bot/cogs/dm_comms.py @@ -30,8 +30,7 @@ def __init__(self, bot: Rodhaj): self._bot = bot self._pool = bot.pool - @staticmethod - async def handle_user_no_thread(message: Message): + async def handle_user_no_thread(self, message: Message): await message.reply( "Seems like you do not have an active thread. " + "Would you want to create one?",