diff --git a/discordbot/cleanup_db_messages.py b/discordbot/cleanup_db_messages.py index fe2a89c..2267d01 100644 --- a/discordbot/cleanup_db_messages.py +++ b/discordbot/cleanup_db_messages.py @@ -20,7 +20,7 @@ logging.getLogger('sqlalchemy') # messages store # ########################### -class Titan(discord.Client): +class Titan(discord.AutoShardedClient): def __init__(self): super().__init__() self.aiosession = aiohttp.ClientSession(loop=self.loop)