refactor: tx_from/tx_to

This commit is contained in:
莘权 马 2023-11-06 11:47:29 +08:00
parent ed7eb4d08a
commit c6f97f7487
10 changed files with 32 additions and 32 deletions

View file

@ -78,8 +78,8 @@ class Trump(Role):
content=rsp,
role=self.profile,
cause_by=ShoutOut,
tx_from=self.name,
tx_to=self.opponent_name,
msg_from=self.name,
msg_to=self.opponent_name,
)
return msg
@ -121,8 +121,8 @@ class Biden(Role):
content=rsp,
role=self.profile,
cause_by=ShoutOut,
tx_from=self.name,
tx_to=self.opponent_name,
msg_from=self.name,
msg_to=self.opponent_name,
)
return msg