From 50c578524550f360cb45b9bb9d14a5bbd1a6aca3 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 1 Jan 2024 12:47:13 -0500 Subject: [PATCH] fix(aurora): reverted part of an old change --- aurora/aurora.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aurora/aurora.py b/aurora/aurora.py index 2f9c7d1..c384443 100644 --- a/aurora/aurora.py +++ b/aurora/aurora.py @@ -68,10 +68,10 @@ class Aurora(commands.Cog): self.bot = bot register_config(config) disable_dateutil() + self.handle_expiry.start() # pylint: disable=no-member async def cog_load(self): - """This method prepares the database schema for all of the guilds the bot is currently in, and starts the handle_expiry task.""" - await self.handle_expiry.start() # pylint: disable=no-member + """This method prepares the database schema for all of the guilds the bot is currently in.""" guilds: list[discord.Guild] = self.bot.guilds try: @@ -83,7 +83,7 @@ class Aurora(commands.Cog): return async def cog_unload(self): - await self.handle_expiry.cancel() # pylint: disable=no-member + self.handle_expiry.cancel() # pylint: disable=no-member @commands.Cog.listener('on_guild_join') async def db_generate_guild_join(self, guild: discord.Guild):