more intuitive naming & add a new attribute to message

This commit is contained in:
yzlin 2023-09-22 12:23:18 +08:00
parent cd98e54f36
commit bbffb3f135
6 changed files with 19 additions and 18 deletions

View file

@ -29,6 +29,7 @@ class Message:
cause_by: Type["Action"] = field(default="")
sent_from: str = field(default="")
send_to: str = field(default="")
restricted_to: str = field(default="")
def __str__(self):
# prefix = '-'.join([self.role, str(self.cause_by)])