Add logging for turns
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
79ada2836e
commit
a36c31bad6
|
@ -823,6 +823,15 @@ class MessageParser:
|
|||
|
||||
return cls.type_nop(content)
|
||||
|
||||
@classmethod
|
||||
def type_turn(cls, content: List[str]) -> Tuple[str]:
|
||||
if len(content) > 2:
|
||||
chatlog_entry(
|
||||
f"Took turn {int(content[0]) / 1000} seconds", content[2], "TURN"
|
||||
)
|
||||
|
||||
return cls.type_nop(content)
|
||||
|
||||
|
||||
async def main() -> int:
|
||||
"""Entry/main function"""
|
||||
|
|
Loading…
Reference in a new issue