Improved event checks #114
This commit is contained in:
parent
026d989789
commit
905182931c
@ -68,7 +68,7 @@ class ClientUtilsService(ClientUtilsServiceABC):
|
|||||||
|
|
||||||
async def check_if_bot_is_ready_yet_and_respond(self, ctx: Context) -> bool:
|
async def check_if_bot_is_ready_yet_and_respond(self, ctx: Context) -> bool:
|
||||||
result = await self.check_if_bot_is_ready_yet()
|
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)
|
await self._message_service.send_ctx_msg(ctx, self._t.transform('common.errors.bot_not_ready_yet'), without_tracking=True)
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
Loading…
Reference in New Issue
Block a user