mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-16 19:35:24 +02:00
Make cleanup db messages shard
This commit is contained in:
@ -20,7 +20,7 @@ logging.getLogger('sqlalchemy')
|
|||||||
# messages store #
|
# messages store #
|
||||||
###########################
|
###########################
|
||||||
|
|
||||||
class Titan(discord.Client):
|
class Titan(discord.AutoShardedClient):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.aiosession = aiohttp.ClientSession(loop=self.loop)
|
self.aiosession = aiohttp.ClientSession(loop=self.loop)
|
||||||
|
Reference in New Issue
Block a user