twitchdev/twitch-cli

Subscription event with gift-user flag does not trigger a gift sub event

Closed this issue · 1 comments

When you issue a command such as twitch event trigger subscribe --gift-user 1234 -F https://localhost:443/webhook, in the handler, the payload field is_gift remains False, and subscription type is channel.subscribe instead of channel.subscription.gift. As if the event is a normal user subscription and no gift flag has been given. Am I missing something here?

I realized I am triggering the wrong event. It should be twitch event trigger channel-gift ...

Thank you.