mirror of
https://github.com/onyx-and-iris/streamlabs-socketio-py
synced 2024-11-23 07:40:49 +00:00
return raw message if raw.
patch bump
This commit is contained in:
parent
48f7be2962
commit
591391aeb7
@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "streamlabsio"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
description = "Get real time Twitch/Youtube events through Streamlabs SocketIO API"
|
||||
authors = ["onyx-and-iris <code@onyxandiris.online>"]
|
||||
license = "MIT"
|
||||
|
@ -74,7 +74,9 @@ class Client:
|
||||
self.obs.trigger(
|
||||
data["for"],
|
||||
data["type"],
|
||||
data if self._raw else as_dataclass(data["type"], *data["message"]),
|
||||
*data["message"]
|
||||
if self._raw
|
||||
else as_dataclass(data["type"], *data["message"]),
|
||||
)
|
||||
self.logger.debug(data)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user