code: def doctor(ctx, client):
      
      click.secho('\n'.join(textwrap.wrap(DOCTOR_INFO)) + '\n', bold=True)
  
      from . import _checks
  
      is_ok = True
      for attr in _checks.__all__:
          is_ok &= getattr(_checks, attr)(client)
  
      if is_ok:
          click.secho('Everything seems to be ok.', fg='green')
  
      ctx.exit(0 if is_ok else 1)
docs: Check your system and repository for potential problems.