Fix not awaiting on-connect
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 7s

This commit is contained in:
Nexus 2024-05-27 17:35:25 +01:00
parent e49d271c80
commit bbcbbd12e0

View file

@ -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"):