diff options
| author | 2022-06-30 22:29:39 +0100 | |
|---|---|---|
| committer | 2022-09-21 23:02:55 +0100 | |
| commit | e263ac1e7f95cbc4b6b949258d0c09312b550c49 (patch) | |
| tree | ab546c7473d588600051004bf4926e2951b80793 /bot/exts/events | |
| parent | Remove reference to no longer used EmptyEmbed var (diff) | |
Move startup checks and logs to their own cog
This is to avoid needed to use wait_until_guild_available during the setup hook.
Diffstat (limited to 'bot/exts/events')
| -rw-r--r-- | bot/exts/events/advent_of_code/_cog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/events/advent_of_code/_cog.py b/bot/exts/events/advent_of_code/_cog.py index 518841d4..1d8b0ca7 100644 --- a/bot/exts/events/advent_of_code/_cog.py +++ b/bot/exts/events/advent_of_code/_cog.py @@ -87,7 +87,7 @@ class AdventOfCode(commands.Cog): try: leaderboard = await _helpers.fetch_leaderboard() except _helpers.FetchingLeaderboardFailedError: - await self.bot.send_log("Unable to fetch AoC leaderboard during role sync.") + await self.bot.log_to_dev_log("Unable to fetch AoC leaderboard during role sync.") return placement_leaderboard = json.loads(leaderboard["placement_leaderboard"]) |