When sending an event from 'twich-cli' to the websocket specifying a valid session, it does not filter the clients and sends the message to all of them.
twitch-cli/1.1.24
Operating System
Debian GNU/Linux 12 (bookworm)
Architecture Version (x86, x64, arm, etc)
x64
Steps to reproduce
Starting the websocket server
twitch event websocket start-server
I connect to the websocket from a client (abcd1234), and it captures the connection event
Client connected [abcd1234]
I connect to the websocket from another client (efgh5678), and it captures the connection event:
Client connected [efgh5678]
I send an event specifying an invalid session, and it informs me that it is not valid. ✅
twitch event trigger channel.ban --transport=websocket --session=<server>_a1b2c3d4
Error executing remote triggered EventSub: Client [a1b2c3d4] does not exist on server [<server>]
Send an event specifying a valid session and send the messages to all clients. 🚫
twitch event trigger channel.ban --transport=websocket --session=<server>_abcd1234
Sent [channel.ban / 1] to client [abcd1234]
Sent [channel.ban / 1] to client [efgh5678]
The message should only be sent to the specified client (abcd1234)
What is the problem?
When sending an event from 'twich-cli' to the websocket specifying a valid
session
, it does not filter the clients and sends the message to all of them.twitch-cli/1.1.24
Operating System
Debian GNU/Linux 12 (bookworm)
Architecture Version (x86, x64, arm, etc)
x64
Steps to reproduce
twitch event websocket start-server
Client connected [abcd1234]
Client connected [efgh5678]
[<server>] Connections: (2) [ abcd1234, efgh5678 ]
twitch event trigger channel.ban --transport=websocket --session=<server>_a1b2c3d4
twitch event trigger channel.ban --transport=websocket --session=<server>_abcd1234
The message should only be sent to the specified client (abcd1234)
Relevant log output
No response