Description
This extension will check for if any new clips were created within the interval set. If new clips are created, then they can be posted to Twitch chat or to a configured Discord channel.
Import Code
twitchClipScanner_v1.0.2.sb (5.7 KB)
twitchClipScanner_v1.0.2_debug.sb (6.1 KB)
Installation
- Download the import code file
- Click the Import button to open the Import dialog
- Drag and drop the
twitchClipScanner.sb
file into the Import String box and then click Import
Configuration
This action will post new clips to Twitch chat by default
Posting clips only if title is unique
- Set
postUniqueTitlesOnly
toTrue
if you only want to post clips that have a title that is different from the channel title
Posting new clips to Discord
To post new clips to Discord:
- Set the Set argument subaction for
postToDiscord
toTrue
.
- Configure your Discord Webhook URL by going to the
Configure Discord Clip Webhook URL
action, right click the Test trigger, and then clickTest Trigger
. Paste your Discord Webhook URL into the dialog that opens.
Creating the Timed Action
- In the
Scan for New Twitch Clips
action, edit the Timed Action trigger
- Click
Create Timer
. Name it something likeTwitch Clip Scanner
and set the interval to your desired amount of time in seconds
300 seconds is 5 minutes
- Edit the Set argument subaction for
interval
to match the interval you set in the Timed Action
Optional configuration
You can create actions to enable/disable the timer from when you start/stop streaming.
- Create an action called
Start Twitch Clip Scanner
- Add a trigger
Twitch > Channel > Stream Online
- Add a subaction
Core > Timers > Set Timer State
and select the timer you created and selectEnabled
- Repeat these steps to create a
Stop Twitch Clip Scanner
, except use theStream Offline
trigger, and aSet Timer State
subaction to disable the timer you created.
Start Twitch Clip Scanner
Stop Twitch Clip Scanner