Guides / How to add a !clip command with Streamer.bot

How to add a !clip command with Streamer.bot

Let your chat, your mods or a Stream Deck button tell EasyClippers to clip the last minute of your stream, with one Streamer.bot action and an EasyClippers API token.

EasyClippers already finds the moments in your stream by itself. Sometimes you know a moment is good the second it happens, and a chat command is the fastest way to say so. With Streamer.bot, a free streaming automation app for Windows, a !clip command (or a button) can call the EasyClippers API, which pins the last part of the stream that is recording; the short shows up in Review once it is made, captioned and vertical like the others.

In this guide
  1. Make an EasyClippers token
  2. Add the action in Streamer.bot
  3. Add the !clip command
  4. Limits and safety
  5. Questions

Make an EasyClippers token

In EasyClippers, open Settings, API and connectors, New token. Name it "Streamer.bot", tick Record streams, stop them, clip moments and use the Ask bar, choose how long it lasts, and copy the token: it is shown only once. More on tokens: tokens for your own scripts.

Add the action in Streamer.bot

In Streamer.bot, add an action named "EasyClippers clip". Right-click its sub-actions, choose Core, C#, Execute C# Code, paste the code below, put your token in place of PASTE_YOUR_TOKEN, and click Compile. Streamer.bot's built-in Fetch URL only sends GET requests, which is why this uses a few lines of C#.

using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;

public class CPHInline
{
    private static readonly HttpClient client = new HttpClient { Timeout = TimeSpan.FromSeconds(20) };
    private const string Token = "PASTE_YOUR_TOKEN";

    public bool Execute()
    {
        var request = new HttpRequestMessage(HttpMethod.Post, "https://easyclippers.com/api/v1/recordings/clip-now");
        request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Token);
        request.Content = new StringContent("{\"seconds\": 60}", Encoding.UTF8, "application/json");
        try
        {
            HttpResponseMessage response = client.SendAsync(request).GetAwaiter().GetResult();
            if (!response.IsSuccessStatusCode)
            {
                CPH.LogError("EasyClippers clip failed: " + (int)response.StatusCode);
                return false;
            }
            return true;
        }
        catch (Exception e)
        {
            CPH.LogError("EasyClippers clip error: " + e.Message);
            return false;
        }
    }
}

The seconds value is how much of the stream to pin: anything from 10 to 120 (60 if you leave it out). If you record more than one stream at once, add "project_id" with the project to clip.

Add the !clip command

In Streamer.bot, add a command such as !clip, link it to the "EasyClippers clip" action, and limit who can use it, for example to you and your moderators. You can also run the same action from a Stream Deck button through Streamer.bot, or from a channel point reward. While EasyClippers is recording, type !clip and check Review a few minutes later.

Limits and safety

Questions

Does EasyClippers still find moments by itself?
Yes. The command only adds moments you pick; the AI keeps finding the rest from your speech, laughter, loudness, on-screen action and chat.
Can my viewers spam the command?
Limit the command to you and your moderators in Streamer.bot, and add a cooldown there. The token also has its own limit of 30 changes in 10 minutes.
Does it work on Kick and YouTube streams?
The clip works on whatever stream EasyClippers is recording, Twitch, Kick or YouTube. The command itself works in the chats Streamer.bot connects to.
Can I use a Stream Deck button instead?
Yes. Run the same Streamer.bot action from a Stream Deck button or a channel point reward.
Is there a way without code?
Inside EasyClippers, the Clip now button does the same thing, and you can also ask the Claude or ChatGPT connector to "clip the last minute". See connect Claude and ChatGPT.
Turn your next stream into shorts automaticallyEasyClippers watches your Twitch, YouTube or Kick stream live and has captioned vertical shorts ready while you are still live. Start with 30 free minutes of shorts, no card needed.
Start free, no card
More guides

Updated 2026-11-18. Questions: support@easyclippers.com.