Fix not awaiting on-connect
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s
This commit is contained in:
parent
e49d271c80
commit
bbcbbd12e0
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class Client(commands.Bot):
|
||||||
else:
|
else:
|
||||||
log.debug("Loaded command %r.", command)
|
log.debug("Loaded command %r.", command)
|
||||||
log.info("Connected to Discord.")
|
log.info("Connected to Discord.")
|
||||||
super().on_connect()
|
await super().on_connect()
|
||||||
|
|
||||||
async def start(self, token: str, *, reconnect: bool = True) -> None:
|
async def start(self, token: str, *, reconnect: bool = True) -> None:
|
||||||
if CONFIG["jimmy"].get("uptime_kuma_url"):
|
if CONFIG["jimmy"].get("uptime_kuma_url"):
|
||||||
|
|
Loading…
Reference in a new issue