diff --git a/pyproject.toml b/pyproject.toml index db9b8c6..0536f4b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 "] license = "MIT" diff --git a/streamlabsio/client.py b/streamlabsio/client.py index 189b53a..0e9f9a0 100644 --- a/streamlabsio/client.py +++ b/streamlabsio/client.py @@ -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)