aboutsummaryrefslogtreecommitdiffstats
path: root/botcore/_bot.py
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2022-06-30 19:26:04 +0100
committerGravatar GitHub <[email protected]>2022-06-30 19:26:04 +0100
commit6e4d9fce6b02ab14528ea239b4eb0821b6c87140 (patch)
tree5bdd92652f52dec50761eb206f9a38229c6c0c9b /botcore/_bot.py
parentMerge pull request #95 from python-discord/dependabot/pip/urllib3-1.26.5 (diff)
parentMerge branch 'main' into misc-bug-fixes (diff)
Merge pull request #91 from python-discord/misc-bug-fixes
Diffstat (limited to 'botcore/_bot.py')
-rw-r--r--botcore/_bot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/botcore/_bot.py b/botcore/_bot.py
index e9eba5c5..ed31d624 100644
--- a/botcore/_bot.py
+++ b/botcore/_bot.py
@@ -197,7 +197,7 @@ class BotBase(commands.Bot):
if not guild.roles or not guild.members or not guild.channels:
msg = "Guild available event was dispatched but the cache appears to still be empty!"
- self.log_to_dev_log(msg)
+ await self.log_to_dev_log(msg)
return
self._guild_available.set()
@@ -249,7 +249,7 @@ class BotBase(commands.Bot):
except Exception as e:
raise StartupError(e)
- async def ping_services() -> None:
+ async def ping_services(self) -> None:
"""Ping all required services on setup to ensure they are up before starting."""
...