Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
twitch_channel_point_integration [2022/11/06 18:55] – Added main portion of guide. Will add remaining part later dante557twitch_channel_point_integration [2022/11/22 05:14] (current) – Twitter > Twitch + Spelling corrections. Noted that this is a VIP exclusive feature. dante557
Line 1: Line 1:
-===== Twitch Channel Point Integration =====+===== Twitch Channel Point Integration (VIP Exclusive Feature) =====
  
 ==== Overview ==== ==== Overview ====
-Deepbot can make use of the Twitter channel point rewards to activate commands within Deepbot. An example useage 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. +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. 
  
 ---- ----
Line 18: Line 18:
  
 ---- ----
 +
 +==== Creating Twitch Channel Rewards ====
 +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
 +
 +<code>@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"}]</code>
 +
 +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
  
 ==== Useful Information ==== ==== Useful Information ====
 +  * This article is still a work in progress. Other information will be added