fix
This commit is contained in:
parent
7c02a3577f
commit
83beb50a42
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class ChatEvent:
|
||||||
|
|
||||||
match = JOIN_LEAVE_MATCHER.search(self.text)
|
match = JOIN_LEAVE_MATCHER.search(self.text)
|
||||||
if match:
|
if match:
|
||||||
self.type = MessageType.JOIN if match["action"] == "join" else MessageType.LEAVE
|
self.type = MessageType.JOIN if match["action"] == "joined" else MessageType.LEAVE
|
||||||
self.message = "joined" if self.type == MessageType.JOIN else "left"
|
self.message = "joined" if self.type == MessageType.JOIN else "left"
|
||||||
self.user = match["usr"]
|
self.user = match["usr"]
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue