Improved event checks #114

This commit is contained in:
Sven Heidemann 2022-11-13 12:15:53 +01:00
parent 026d989789
commit 905182931c

View File

@ -68,7 +68,7 @@ class ClientUtilsService(ClientUtilsServiceABC):
async def check_if_bot_is_ready_yet_and_respond(self, ctx: Context) -> bool:
result = await self.check_if_bot_is_ready_yet()
if result:
if not result:
await self._message_service.send_ctx_msg(ctx, self._t.transform('common.errors.bot_not_ready_yet'), without_tracking=True)
return result