Skip to main content

Random Clip

Runs on: Backend.

Picks a random clip from a Twitch channel. The output is the same resolved clip object the Resolve Clip node produces, ready for a Play Clip effect or Extract nodes. You can limit the pool to featured clips and cap the clip length.

Inputs​

NameTypeDescription
channelstringThe Twitch login name of the channel to pull clips from.

Outputs​

NameTypeDescription
outputobjectA clip object with the video URL, title, broadcaster, duration and thumbnail.

Configuration​

  • Max Duration (seconds): Only clips this long or shorter are eligible. Blank means any length.
  • Featured clips only: Only clips marked as featured on Twitch are eligible.

Example​

A !clip command feeds the broadcaster's login into Random Clip with Featured clips only on and a 45-second max duration, then passes the result to Play Clip.