Generate a Chat Command that will Create Clips on your Twitch Channel!
Currently supports chatbots such as, but not limited to: Phantombot, Pajbot, Nightbot, Streamlabs Chatbot (Ankhbot), Streamlabs Cloudbot, Scorpbot, Botisimo, StreamElements, Ohbot, Fossabot, Deepbot and any other Twitch Chatbot with ReadAPI functionality.
I made the first clip command script that was ever made for Twitch, which was sadly limited to users who used the bot it was created for.
So it’s only right that I create a nice and easy to use API, so it could be used with nearly all bots. Because things shouldn’t be limited.
This page is not designed to work on mobile browsers, but if you switch your mobile browser to “desktop site” mode, it should work much better and be easier to use. However I still suggest you set this up via your computer, not a mobile device.
What channel do you want to clip?
Enabling Clip Thumbnail Generation is Not Recommended. This will not work with nearly any cloud based bots.
See the Frequent Questions Tab for a more detailed overview of what enabling thumbnail generation does.
NOTE: Clip Thumbnail Generation is Automatically Disabled for Cloud based bots, since it will not work with them anyways.
Some of the most common questions
It’s a command you can add to your chatbot that creates a clip of the last 30 seconds.
Very helpful for mobile viewers, so they don’t have to leave the stream when clipping.
No, that is not possible with the Twitch API.
No, that as well is not possible with the Twitch API.
No, that is also not possible with the Twitch API.
” Discord Webhook URL (Posts your Clips to your Discord Server) “
This allows you to post the clip to your discord server as well as your twitch chat.
To use this, simply go to your discord server, then create a webhook for the channel you want the clip posted in.
You can set a custom name and image, those will not be overridden when the webhook is posted.
” Clipping is not possible at this time! If the stream just went live or restarted, try again later. “
Chances are you just went live, try again in a few minutes. This message replaces: “Clipping is not possible for an offline channel.”
Or maybe you have the command made for the wrong channel. If so, try generating a new link and update the reply in your chatbot.
” OAuth Token Expired! Update your Clip Command at: https://www.sowhoyou.com/clipcommand/ ”
OAuth tokens expire after 60 days, so this is normal. This message replaces: “Must provide a valid Client-ID or OAuth token”.
You just need to click on the link provided, which will take you to the page where you can update your clip command.
Enabling Clip Thumbnail Generation is Not Recommended. It does work, but it will not work with nearly any cloud based bots.
Such as, Streamelements, Nightbot, Streamlabs Cloudbot and others. Disable this if you have any issues with your bot not responding!
The only bots I know for sure that Clip Thumbnail Generation will work for are: Phantombot and Pajbot. Most other bots will timeout.
But basically… It creates a loop, where it tries to ping the Twitch API to see if the clip exists.
That delays the posting of the clip in the chat, to give it a working thumbnail.
This has a fail safe cutoff at 20 seconds, but it should reply much sooner.
Typically it will take about 10-15 seconds for the clip to be verified.
This will not work for most cloud based bots, but you can try.
If needed, generate a new link and update the reply in your chatbot.
Other information about this API
Name clips when the command is used. (ex: ‘!clip can not do’)
Make the command sender become the creator of the clip.
Change the length of the clip that will be created.
This is simply because it does not work with most chatbots.
Other than that, it looks bad in chat, waiting up to 10-15 secs for reply.
This is kinda simple but not really, so I will make this as short and as simple to understand as possible.
Basically, I’m using a AES-128-OFB Encryption to hide the Twitch OAuth Token and Discord Webhook URL.
You can read more about what that means at: https://en.wikipedia.org/wiki/Advanced_Encryption_Standard
Basically, your information is encrypted before you get your Clip Command API URL, then decrypted every time you make a clip.
The only way the OAuth Token or Webhook URL can be decrypted, is via the dual encryption keys stored on a secure server.
There is theoretically no way anyone will ever get your OAuth Token or Webhook URL even if they have your API URL.
The best way would be to link people to this page.
Share it on your social media or link here in your Twitch Panels.
If you’re feeling really nice, you could always donate or subscribe.
Anyways, I just hope you enjoy the clip command, happy streaming!
Excessive Automation of this API will be blocked and you will be banned from this API.
Example of Excessive Automation: Auto Clipping every 10-30 seconds for an extended duration.
Why: There is no reason to Automate Clips at that speed, there are Twitch VODS for that.
Examples of Discord Posting Formats
There are technically 3 ways that Clips can be posted into Discord at this time.
Here I will show an example of how those will look depending on what you choose.
The default method: CodeBlock
This method is recommended, as it will work with all Chat Bots, but I do plan to improve it in the near future.
The second method: Embed – Without Thumbnail Generation
This method is not recommended, nor is it not-not recommended. It just doesn’t look that good in my opinion.
The third method: Embed – With Thumbnail Generation
This method is not recommended, as it will not work with any Cloud Based Chat Bots (Basically Most Bots).
This will work with: Pajbot, Phantombot and the downloadable version of Streamlabs Chatbot.
Note: When thumbnail generation is enabled, clips take about 15 seconds before posting in chat and/or discord.
If you are a chatbot developer: Please contact me so we can resolve this issue. Your clients would love you for it if you do.
Here are some channels that use this API
I say some channels, because not all channels are listed here. Some channels have been filtered out for different reasons.
This auto updates every 30 mins or so. If your channel is listed here and you want it removed, please contact me.