twitch-bot
twitch-bot copied to clipboard
Add support for loyalty point events
Twitch Loyalty system has events for redeption, probably this can be added?
Channel point redemptions are handled through the Twitch PubSub API, which is distinct from the Twitch IRC system that most of Twitch chat is built on.
I managed to interact with the loyalty system by toggling the option "Ask for user input" on my rewards and then using the unique custom_reward_id
every rewarded message has.
When you ask for user input, Twitch ships the custom_reward_id
along with the mesage through the IRC channel.
And twitch-bot
parses that value without any further modification.