docs: def post_chat(self, msg, is_me=False, is_a=False):
          """Posts a msg to this room's chat. Set me=True if you want to /me"""
  
          if len(msg) > self.config.max_message:
              raise ValueError(
                  f"Chat message must be at most {self.config.max_message} characters."
              )
          while not self.user.nick:
              with ARBITRATOR.condition:
                  ARBITRATOR.condition.wait()
          if is_a:
              if not self.admin and not self.staff:
                  raise RuntimeError("Can't modchat if you're not a mod or trusted")
              self.conn.make_call("command", self.user.nick, "a", msg)
              return
          if is_me:
              self.conn.make_call("command", self.user.nick, "me", msg)
              return
  
          self.conn.make_call("chat", self.user.nick, msg)