more print statements.
build

This commit is contained in:
2023-05-24 23:00:36 -04:00
parent 811317fc0a
commit 8bbe7388c6
+2
View File
@@ -24,6 +24,7 @@ class DailyLoop(commands.Cog, name="Daily Loop"):
""" """
Starts the loop when bot is ready. Starts the loop when bot is ready.
""" """
print("on ready")
await self.bot.wait_until_ready() await self.bot.wait_until_ready()
# pylint doesn't recognize that periodic_update_guild_data is subclassed from tasks.loop. # pylint doesn't recognize that periodic_update_guild_data is subclassed from tasks.loop.
await self.do_thing.start() # pylint: disable=no-member await self.do_thing.start() # pylint: disable=no-member
@@ -31,4 +32,5 @@ class DailyLoop(commands.Cog, name="Daily Loop"):
@tasks.loop(time=time(hour=0, tzinfo=timezone("GMT"))) @tasks.loop(time=time(hour=0, tzinfo=timezone("GMT")))
async def do_thing(self): async def do_thing(self):
""" """ """ """
print("loop")
await self.election.check_date() await self.election.check_date()