Skip to content

Commit

Permalink
[Hockey] Fix a typo in checking game day thread creations.
Browse files Browse the repository at this point in the history
- Switch to wait until red ready in pickems loop
  • Loading branch information
TrustyJAID committed Dec 2, 2023
1 parent 51deb5e commit 06dbede
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hockey/gamedaythreads.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ async def check_new_gdt(self) -> None:
cur_channel = await guild.fetch_channel(chan_id)
except Exception:
cur_channel = None
await self.config.guild(guild).gdt_chan.clear()
await self.config.guild(guild).gdt_chans.clear()
# clear the config data so that this always contains at most
# 1 game day thread when only one team is specified
# fetch_channel is used as a backup incase the thread
Expand Down
2 changes: 1 addition & 1 deletion hockey/hockeypickems.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async def after_pickems_loop(self) -> None:
@pickems_loop.before_loop
async def before_pickems_loop(self) -> None:
log.trace("Waiting for Red to be ready")
await self.bot.wait_until_ready()
await self.bot.wait_until_red_ready()
log.trace("Waiting for the cog to finish migrating")
await self._ready.wait()
# wait until migration if necessary
Expand Down

0 comments on commit 06dbede

Please sign in to comment.