Skip to content

Commit

Permalink
fix partiallivestream data return
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenith727 committed Jan 20, 2024
1 parent 2630c2d commit bbcee36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kick/ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def poll_event(self) -> None:

match raw_data["event"]:
case "App\\Events\\ChatMessageEvent":
msg = Message(data=data, http=self.http)
msg = Message(data=data["livestream"], http=self.http)
self.http.client.dispatch("message", msg)
case "App\\Events\\StreamerIsLive":
livestream = PartialLivestream(data=data, http=self.http)
Expand Down

0 comments on commit bbcee36

Please sign in to comment.