This tutorial is for a channel point redeem that takes a screenshot of a camera source (raw) from a selected scene in OBS Studio (using Streamer.bot), which is then posted into a channel on Discord. Capturing a screenshot with all of the overlays is slightly more complicated requiring referencing a previously defined scene (and is not covered). Similarly, an on-stream visual/sound effect are also not covered.
An importable action script is located at the bottom (though I recommend also reading through this to see how the script actually works).
Please see the note in Step 6 regarding the security considerations of running this bot.
Note: this requires an OBS setup running on a Windows based PC since Streamer.bot is a Windows only application.
Step 1: Download Streamer.bot
Step 2: Extract the files from the downloaded zip file into its own folder.
Note: Feel free to make a shortcut of Streamer.bot.exe to the desktop. Streamer.bot needs to be running along with OBS Studio for the programmed actions to work while streaming. It can set to run minimized in the System Tray in the Settings tab.
The following steps will connect Streamer.bot to OBS and Twitch.
Step 3: Launch Streamer.bot, select the Stream Apps tab, select the OBS tab, right-click and select Add (this is to connect OBS to Streamer.bot).
Note: the screenshots are from the older pre-1.x.x version (the 1.x.x version has a better looking user interface but functions the same way).
Step 4: In the Add OBS Connection dialog box, select v5.x. The rest of the information needs to match the one in OBS for its WebSocket Server settings. Host will be the localhost 127.0.0.1 IP address (if OBS is running on the same machine as Streamer.bot). The port will be 4455 if it hasn’t been changed in OBS and whatever password that is set in OBS.
Step 5: Connect to the OBS Websocket connection that was just created in Step 4.
Step 9: Select Integrations after creating the channel and click the Create Webhook button.
Select the channel reward (Take Screenshot) that was created in Step 7 and click Ok.
The following is the importable action script for the above. Copy and paste this into the import box in Streamer.bot. Two sub-actions need to be edited: 1) OBS Take Screenshot (select the live scene and the source and make sure to select the file path for the screen shot file noted in Step 12 above) and 2) Discord Basic Webhook (Post Screenshot) where you will need to add the Discord Webhook URL and the file path for the screen shot file (see Step 13 above).
U0JBRR+LCAAAAAAABACtVl2L2zoQfS/0P4hAoS1V8Lfl+1Za+gFtKc3u7cOlD7I0jsXaUirJ2Q3L/vcr2XE2jrNl72UdSCKdkTxzdGZGt8+fIbRowdLFX+jWD9xQ0hbccLFiGkCaWllkFXovDFOaL97srWhna6W93dd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