code: def init(config_object: Optional[Any] = None) -> None:
      
      global _bot
      _bot = NoneBot(config_object)
  
      if _bot.config.DEBUG:
          logger.setLevel(logging.DEBUG)
      else:
          logger.setLevel(logging.INFO)
  
      _bot.server_app.before_serving(_start_scheduler)
docs: Initialize NoneBot instance.
  
      This function must be called at the very beginning of code,
      otherwise the get_bot() function will return None and nothing
      is gonna work properly.
  
      :param config_object: configuration object