diff --git a/treepuncher/events/chat.py b/treepuncher/events/chat.py index 91b7dab..89c6a2a 100644 --- a/treepuncher/events/chat.py +++ b/treepuncher/events/chat.py @@ -53,5 +53,6 @@ class ChatEvent: match = JOIN_LEAVE_MATCHER.search(self.text) if match: self.type = MessageType.JOIN if match["action"] == "join" else MessageType.LEAVE + self.message = "joined" if self.type == MessageType.JOIN else "left" self.user = match["usr"] return