code: def on_message(self, *args, accept_query=False, matcher=None, **kwargs):
          
  
          if accept_query:
              def new_matcher(msg: Message):
                  ret = True
                  if matcher:
                      ret = matcher(msg)
                      if ret is None or ret is False:
                          return ret
                  if msg.recipient is not self and not isinstance(msg.sender, User):
                      return False
                  return ret
          else:
              kwargs.setdefault("channel", self.name)
              new_matcher = matcher
          return self.client.on_message(*args, matcher=new_matcher, **kwargs)
docs: Convenience wrapper of `Client.on_message` pre-bound with `channel=self.name`.