-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Description
What is the problem?
According to the argument list (-h), you should be able to use either -c | --count int to specify how many gifts the event should contain. However, this argument doesn't seem to be respected, and instead it always contains 5 gifts.

Operating System
Windows 11
Architecture Version (x86, x64, arm, etc)
x64
Steps to reproduce
- Start websocket server using CLI
- Trigger a channel.subscription.gift event with no arguments, it'll contain 5 gifted subs.
- Trigger another channel.subscription.gift event, this time with the argument
--count 1, and it will still contain 5 gifted subs.
Relevant log output
PS C:\Users\User> twitch event trigger channel.subscription.gift --count 1 --transport=websocket
✔ Forwarded for use in mock EventSub WebSocket server
{"subscription":{"id":"f7fd3122-3c7e-f262-f8bd-012c1175daa6","status":"enabled","type":"channel.subscription.gift","version":"1","condition":{"broadcaster_user_id":"85103678"},"transport":{"method":"websocket","session_id":"WebSocket-Server-Will-Set"},"created_at":"2023-06-24T11:41:56.125244Z","cost":0},"event":{"broadcaster_user_id":"85103678","broadcaster_user_login":"testBroadcaster","broadcaster_user_name":"testBroadcaster","cumulative_total":78,"is_anonymous":false,"tier":"1000","total":5,"user_id":"64266685","user_login":"testFromUser","user_name":"testFromUser"}}Metadata
Metadata
Assignees
Labels
No labels