This script allows users to use exchange their earned channel points for your personal channel currency! This bot does not have a cool down and should work even if someone redeems in rapid succession.
This script was built for use with Streamlabs Chatbot. Follow instructions on how to install custom script packs at: https://github.com/StreamlabsSupport/Streamlabs-Chatbot/wiki/Prepare-&-Import-Scripts
Click Here to the script pack directly.
Once installed you will need to provide an oAuth token. You can get one by clicking the Get Token button in script settings. This button also exists in the streamlabs chatbot UI. Make sure you don't show this token on stream, it is as sensitive as your stream key!
Once installed, just add custom channel point rewards to your twitch channel and then exactly match the names of the reward to a Twitch Reward event in the script settings within Streamlabs OBS. In this example, please refer to Point Testing
that costs 25 Channel Points
I highly recommend turning on debugging/logging before you rock and roll with this script. A script that shows this is working properly looks like this:
v. 1.0.0 - Initial Commit v. 1.0.1 - Fixed a bug where only tier 1 currency amount was getting added. Fixed an error where variables were only happening if debugging was on. Bumped version.
This script makes use of TwitchLib's pubsub listener to detect the channel point redemptions. Go check out their repo at https://github.com/TwitchLib/TwitchLib for more info.
This script is based off of EncryptedThoughts's Channel Point's SFX Trigger. Check out their Twitch!
This project is licensed under the MIT License - see the LICENSE.md file for details