code: async def send(bot: NoneBot, ctx: Context_T,
                 message: Message_T, *,
                 ensure_private: bool = False,
                 ignore_failure: bool = True,
                 **kwargs) -> Any:
      
      try:
          if ensure_private:
              ctx = ctx.copy()
              ctx['message_type'] = 'private'
          return await bot.send(ctx, message, **kwargs)
      except CQHttpError:
          if not ignore_failure:
              raise
          return None
docs: Send a message ignoring failure by default.