From 90784dfafed8391ede7dd0ed57df53a149090703 Mon Sep 17 00:00:00 2001 From: Brofar Date: Mon, 12 Jan 2026 18:33:03 -0700 Subject: [PATCH 1/2] Add Title and Duration parameters to create-clip.md for 1.0.3 Also remove Twitch API Restrictions warning as it is no longer relevant. --- .../twitch/channel/create-clip.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/streamerbot/3.api/1.sub-actions/twitch/channel/create-clip.md b/streamerbot/3.api/1.sub-actions/twitch/channel/create-clip.md index 276ea9fd..182cf1c1 100644 --- a/streamerbot/3.api/1.sub-actions/twitch/channel/create-clip.md +++ b/streamerbot/3.api/1.sub-actions/twitch/channel/create-clip.md @@ -1,6 +1,14 @@ --- title: Create Clip -description: Create a 30-second Twitch Clip +description: Create a Twitch Clip +parameters: + - name: Clip Title + type: string + description: If blank, will match the stream title at the time of creation. + - name: Duration + type: int + default: 30 + description: Clip duration in seconds (min. 5, max 60). variables: - name: createClipSuccess type: bool @@ -21,11 +29,3 @@ variables: csharpMethods: - CreateClip --- - -::warning -**Twitch API restrictions** -- The generated clip will always be 30 seconds in length -- The clip title will match your stream title at the time of creation - - To make your own changes to the clip duration and/or title, you can manually edit the clip later. -:: From 42e31a3756c92230f64e05b0fdae496209222281 Mon Sep 17 00:00:00 2001 From: Brofar Date: Mon, 12 Jan 2026 18:43:30 -0700 Subject: [PATCH 2/2] Add title and duration parameters for 1.0.3 / C# Method --- .../3.methods/twitch/clips/create-clip.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/streamerbot/3.api/3.csharp/3.methods/twitch/clips/create-clip.md b/streamerbot/3.api/3.csharp/3.methods/twitch/clips/create-clip.md index ee714668..d60fb443 100644 --- a/streamerbot/3.api/3.csharp/3.methods/twitch/clips/create-clip.md +++ b/streamerbot/3.api/3.csharp/3.methods/twitch/clips/create-clip.md @@ -1,7 +1,16 @@ --- name: CreateClip title: CreateClip -description: Create a 30 second Twitch Clip +description: Create a Twitch Clip +parameters: + - name: title + type: string + default: null + description: If `null`, will match the stream title at the time of creation. + - name: duration + type: int + default: 30 + description: Clip duration in seconds (min. 5, max 60). example: | using System; using Twitch.Common.Models.Api; //Needed for ClipData Type @@ -10,7 +19,7 @@ example: | public bool Execute() { //Create Clip - ClipData clip = CPH.CreateClip(); + ClipData clip = CPH.CreateClip("Example Title", 25); //Access created clip data //Get clip creator name @@ -24,12 +33,3 @@ example: | } } --- - -::warning -**Twitch API restrictions** - -- The generated clip will always be 30 seconds in length -- The clip title will match your stream title at the time of creation - - To make your own changes to the clip duration and/or title, you can manually edit the clip later. -:: \ No newline at end of file