0.3 - Checks in Befehlen als Decorators (#114) #115
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user