Deepbot can make use of the Twitch channel point rewards to activate commands within Deepbot. An example usage of this would be to have an image appear on screen when a viewer redeems a reward. This guide aims to help you set up this integration and, consequently, help you to further your ideas with regards to stream engagement.
Linking a Twitch channel point command to a Deepbot command can only be done via the program or the web dashboard. As such, you cannot link a Twitch channel point command via chat.
At this point, the link should now be set up. You can test to ensure that the command in question has been created correctly by triggering the command on the Twitch website.
Due to Deepbot having API support, and the ability to interact with the Twitch API using your Twitch account, you can create Twitch channel point rewards as and when required. This is useful if you have specific channel point rewards in place for games that support the use of redeems.
The following command will allow you to create a new channel reward from scratch
@customjsonapi2@[{ "url": "https://api.twitch.tv/helix/channel_points/custom_rewards?broadcaster_id=@streamid@&title=@replace@[@target@[1]|_|%20]&cost=@target@[2]", "method": "POST", "payload": { "args": { "foo1": "bar1","foo2": "bar2"}}, "headers": \[ "Content-Type: application/json" \], "path": "data.0.id", "showResult": "true"}]
If you command requires a space (I.e. “The Reward”) you will need to use an _ to substitute a space. As an example, assuming the above was in a command called !createreward the below example would create a command called *this is a test* which costs 100 points to use.
Example Usage: !createreward this_is_a_test 100