Skip to content

Helpers on this page start with {stream.. Type one in any reply field that takes templates, and the bot fills it in when it sends the message. A command that asks about the current game reads the live channel. A recap reads what the bot recorded about a stream. Which stream that is depends on the table the helper is in.

Live now reads the channel as it is at this moment. While you’re offline, {stream.uptime} gives offline, {stream.viewers} gives 0, {stream.isLive} gives false and {stream.status} gives offline. {stream.startedAt} gives an empty text while you’re offline. The other uptime, start time and viewer forms, and {stream.id}, give no value while you’re offline, so they stay as typed.

Counts and top lists read the newest stream the bot has recorded for your channel. While you’re live, that is the stream you’re running. After you end it, it is still that stream, so a recap command keeps working until you go live again.

The last stream reads the newest stream that has ended. While you’re live, that is the stream before this one.

The monthly counts and the category history read the newest 100 streams the bot has recorded, with the month taken in your channel time zone.

A helper with no value stays in the message as you typed it. That happens, for example, when the bot has recorded no stream yet, or when a helper that needs a number gets none. Counts use the thousands separator of your channel language. In the counts and top lists, viewers who are banned in your channel are left out of the chat, command, reward, song and event counts. The helpers for the last stream count every viewer, banned ones too.

The examples show possible values; yours depend on your channel. Use in lists the reply fields that accept each helper. For text a viewer writes, the Viewer Templates setting and permissions also apply.

Live now

HelperWhat it givesExampleUse in
{stream.game}The current category, empty when none is setJust ChattingCommands, event responses, timers, pipelines, Discord, webhooks, viewer text
{stream.game.boxart}The box art picture link of the current category, 285 by 380 pixelshttps://static-cdn.jtvnw.net/ttv-boxart/509670-285x380.jpgCommands, event responses, timers, pipelines, Discord, webhooks
{stream.game.link}The Twitch directory link of the current categoryhttps://twitch.tv/directory/category/software-and-game-developmentCommands, event responses, timers, pipelines, Discord, webhooks
{stream.game.short}The current category, cut to 40 characters and closed with …Software and Game DevelopmentCommands, event responses, timers, pipelines, Discord, webhooks
{stream.id}The Twitch id of the running stream40123456789Commands, event responses, timers, pipelines, Discord, webhooks
{stream.isLive}true while live, false while offlinetrueCommands, event responses, timers, pipelines, Discord, webhooks, viewer text
{stream.startedAt}The moment the stream went live, as a full timestamp; empty when no start time is known2026-10-06T18:00:00.0000000+00:00Commands, event responses, timers, pipelines, Discord, webhooks
{stream.startedAt.local}The time the stream went live, as a 24-hour clock in your channel time zone (UTC when none is set)13:15Commands, event responses, timers, pipelines, Discord, webhooks
{stream.startedAt.relative}How long ago the stream went live, rounded2 hours agoCommands, event responses, timers, pipelines, Discord, webhooks
{stream.status}live or offlineliveCommands, event responses, timers, pipelines, Discord, webhooks
{stream.thumbnail}The link to the live preview picture; empty on a platform other than Twitchhttps://static-cdn.jtvnw.net/previews-ttv/live_user_example_channel-1280x720.jpgDiscord
{stream.title}The current title, empty when none is setCozy coding nightCommands, event responses, timers, pipelines, Discord, webhooks, viewer text
{stream.title.short}The title cut to the number of characters you give, from 1 to 140, and closed with …; a title that fits stays whole{stream.title.short:8} gives Building…Commands, event responses, timers, pipelines, Discord, webhooks
{stream.uptime}How long the stream has been live; offline while offline2h 15mCommands, event responses, timers, pipelines, Discord, webhooks, viewer text
{stream.uptime.clock}How long the stream has been live, as a clock; under an hour it reads 15:002:15:00Commands, event responses, timers, pipelines, Discord, webhooks
{stream.uptime.hours}How many hours the stream has been live, with up to two decimals2.25Commands, event responses, timers, pipelines, Discord, webhooks
{stream.uptime.long}How long the stream has been live, in words, with two units at most2 hours, 15 minutesCommands, event responses, timers, pipelines, Discord, webhooks
{stream.uptime.minutes}How many whole minutes the stream has been live135Commands, event responses, timers, pipelines, Discord, webhooks
{stream.uptime.since}The time the stream went live in your channel time zone, with words before itlive since 13:15Commands, event responses, timers, pipelines, Discord, webhooks
{stream.url}The link to your channel page on Twitch or Kickhttps://www.twitch.tv/example_channelDiscord
{stream.viewers}The current viewer count; 0 while offline42Commands, event responses, timers, pipelines, Discord, webhooks
{stream.viewers.compact}The current viewer count, short from 1,000 up: 1,234 reads 1.2k and 3,400,000 reads 3.4M; below 1,000 the count stays whole1.2kCommands, event responses, timers, pipelines, Discord, webhooks

{stream.thumbnail} and {stream.url} work only in a Discord notification, which fills them in itself when it sends the post. In any other field they stay as typed.

Counts and top lists

These read the newest recorded stream: the running one while you’re live, the one you ended last while you’re offline. A list of viewer names, such as the top chatters or the new followers, holds at most five.

HelperWhat it givesExampleUse in
{stream.bits.top}The viewer who cheered the most bits, with their totalViewerOne (500)Commands, event responses, timers, pipelines, Discord, webhooks
{stream.bits.total}All bits cheered1,250Commands, event responses, timers, pipelines, Discord, webhooks
{stream.chatters.unique}How many different viewers chatted33Commands, event responses, timers, pipelines, Discord, webhooks
{stream.commandsRun}How many times a command ran88Commands, event responses, timers, pipelines, Discord, webhooks
{stream.count}How many streams the bot has recorded for your channel214Commands, event responses, timers, pipelines, Discord, webhooks
{stream.count.month}How many recorded streams started this month11Commands, event responses, timers, pipelines, Discord, webhooks
{stream.followers.new}How many follows came in6Commands, event responses, timers, pipelines, Discord, webhooks
{stream.followers.latest}The last name in the {stream.followers.newList} list, so the fifth follower at mostViewerTwoCommands, event responses, timers, pipelines, Discord, webhooks
{stream.followers.newList}The names of the first five people who followed, in the order they followedViewerOne, ViewerTwoCommands, event responses, timers, pipelines, Discord, webhooks
{stream.games.history}Your latest categories, newest first, each named once; give how many, from 1 to 25, after a colon, and you get that many, or fewer when your newest 100 streams hold fewer categories. With no number it stays as typed{stream.games.history:3} gives Software and Game Development, Just Chatting, MinecraftCommands, event responses, timers, pipelines, Discord, webhooks
{stream.hours.month}How many hours your recorded streams this month lasted, with up to two decimals, followed by h46hCommands, event responses, timers, pipelines, Discord, webhooks
{stream.hypetrains}How many hype trains ended; stays as typed when there was none1Commands, event responses, timers, pipelines, Discord, webhooks
{stream.hypetrains.topLevel}The highest level a hype train reached; stays as typed when there was none3Commands, event responses, timers, pipelines, Discord, webhooks
{stream.messages}How many chat messages were sent2,430Commands, event responses, timers, pipelines, Discord, webhooks
{stream.number}The number of this stream, from the same count as {stream.count}, written with stream # in frontstream #214Commands, event responses, timers, pipelines, Discord, webhooks
{stream.raids.in}How many raids came in, up to five1Commands, event responses, timers, pipelines, Discord, webhooks
{stream.raids.lastRaider}The channel that raided with the most viewersOtherStreamerCommands, event responses, timers, pipelines, Discord, webhooks
{stream.raids.lastRaiderViewers}The viewer count of that biggest raid25Commands, event responses, timers, pipelines, Discord, webhooks
{stream.redemptions}How many channel point rewards were redeemed14Commands, event responses, timers, pipelines, Discord, webhooks
{stream.songRequesters}How many songs were requested4Commands, event responses, timers, pipelines, Discord, webhooks
{stream.subs.gifted}How many subscriptions were gifted5Commands, event responses, timers, pipelines, Discord, webhooks
{stream.subs.new}How many new subscriptions came in, gifts not included3Commands, event responses, timers, pipelines, Discord, webhooks
{stream.subs.resubs}How many resubscriptions were shared in chat2Commands, event responses, timers, pipelines, Discord, webhooks
{stream.subs.selfSubs}How many people subscribed or resubscribed for themselves, gifts not included, up to five1Commands, event responses, timers, pipelines, Discord, webhooks
{stream.subs.topGifter}The viewer who gifted the most subscriptionsViewerTwoCommands, event responses, timers, pipelines, Discord, webhooks
{stream.subs.total}New, resubscribed and gifted subscriptions added together10Commands, event responses, timers, pipelines, Discord, webhooks
{stream.topChatter}The viewer with the most chat messages, with their countViewerOne (140)Commands, event responses, timers, pipelines, Discord, webhooks
{stream.topChatters}The viewers with the most chat messages, most first; give how many, from 1 to 25, after a colon, and you get five names at most. With no number it stays as typed{stream.topChatters:3} gives ViewerOne, ViewerTwo, ViewerThreeCommands, event responses, timers, pipelines, Discord, webhooks
{stream.topCommand}The command that ran most often, with its count!hug (31)Commands, event responses, timers, pipelines, Discord, webhooks
{stream.viewers.peak}The highest viewer count57Commands, event responses, timers, pipelines, Discord, webhooks

{stream.count}, {stream.count.month}, {stream.hours.month} and {stream.games.history} look across your recorded streams, not only the newest one.

The last stream

These read the newest stream that has ended. While you’re live, that is the stream before this one.

HelperWhat it givesExampleUse in
{stream.last.duration}How long it lasted4h 10mCommands, event responses, timers, pipelines, Discord, webhooks
{stream.last.endedAt}The date it ended, in UTC2026-10-24Commands, event responses, timers, pipelines, Discord, webhooks
{stream.last.followers}How many people followed during it9Commands, event responses, timers, pipelines, Discord, webhooks
{stream.last.game}Its categoryJust ChattingCommands, event responses, timers, pipelines, Discord, webhooks
{stream.last.messages}How many chat messages it had3,102Commands, event responses, timers, pipelines, Discord, webhooks
{stream.last.peak}Its highest viewer count61Commands, event responses, timers, pipelines, Discord, webhooks
{stream.last.relative}How long ago it ended, rounded2 days agoCommands, event responses, timers, pipelines, Discord, webhooks
{stream.last.since}How long ago it ended, in words, with two units at most1 day, 16 hoursCommands, event responses, timers, pipelines, Discord, webhooks
{stream.last.subs}How many people subscribed during it4Commands, event responses, timers, pipelines, Discord, webhooks
{stream.last.title}Its titleChill SaturdayCommands, event responses, timers, pipelines, Discord, webhooks

For a recap you post while live, use these. For one you post right after you end the stream, the count helpers above already describe that stream and carry more detail.

Back to Template helpers. For the places helpers work, special characters and HTML, read Variables and templates.