Skip to content

Helpers on this page: {user}, {user.*}, {viewer.*}, {engagement.*}, {name}, {link}, {subject}, {object}, {possessive}, {tense}, {presentTense}, {genderedTerm}, {verb:*}.

These helpers are about the person who used the command, such as {user}, {user.points} and {user.followAge}. They also hold that person’s pronouns and the words that go with them, such as {user.subject} and {user.possessive}. The bare helpers {name}, {link}, {subject}, {object}, {possessive}, {tense}, {presentTense}, {genderedTerm} and {verb:plays|play} are here too, and they follow a different rule. They are about the person the command names, which is the first word after the command, as in !hug @someone. The bot takes any word typed after the command as the person named, so !lurk getting food names “getting”. If nothing is typed after the command, they are about the person who used the command. Type the user. form, such as {user.subject}, to always get the person who used the command. Use these helpers to greet a viewer, to show their stats, or to write a reply that fits their pronouns.

{user} is the display name, written the way the viewer writes it. In a chat reply, the bot writes the display name only when it matches the login apart from letter case. Otherwise, for example for a name in another alphabet, it writes the login. {user.name} is the login name, in lower case.

Pronouns

The pronoun and grammar helpers sit in the first table below. The reply uses the person’s saved pronouns, which can come from their own choice or the external pronoun service. To learn where the bot gets pronouns and how to write a reply that fits he, she and they, read Pronouns in templates.

Welcome the person who asked

Put Welcome {user}! in a command reply to greet its caller. Use {target.displayname} instead when the greeting is for someone named after the command. Keeping those two people distinct matters for replies such as {user} sends a hug to {target.displayname}.

The points helpers read the bot’s channel currency, not a viewer’s Twitch Channel Points balance. They report values; putting {user.points} in a reply does not grant or spend currency.

The examples illustrate possible values; your results depend on the channel and trigger. Use in lists the template fields that accept each helper. A pipeline still needs a trigger that supplies the relevant person, message, or event; event-specific helpers need that event. For viewer-written text, the Viewer Templates setting and permissions also apply.

When a value is not available

A {user.*} helper needs a person. If the reply has no trigger person, the helper stays in the reply as written. The pronoun helpers are the exception. They print they, them, their, are and person, and {user.verb:a|b} prints the plural form. {user.tense} prints are or were. {user.pronouns} has no fallback. When no pronoun is on record for the viewer, it stays in the reply as written. {user.lastmessage} is the other exception and prints empty. A viewer with no record in your channel reads as not a follower, not a subscriber, 0 for every count and empty for every date. {viewer.firstseen} prints unknown instead. A detail that Twitch cannot give prints empty. This holds for the color, picture, bio and account date. {user.followAge} prints not following when the channel has no follow record for the viewer. It prints unknown when the bot could not ask Twitch. A viewer with no streak reads as 0.

The points helpers show 0 for a viewer with no balance. The rank helpers print empty when the viewer is not on the currency ranking. The ranking exists only when the channel has a leaderboard on the balance metric. Without one, every rank helper prints empty for every viewer. {user.points.nextRank.name} and {user.points.nextRank.gap} also print empty for the viewer in first place. {user.points.nextRank.gap} is the balance difference to the viewer one place above. That balance only ties that place, so it is not enough to pass.

The {user.stats.*} and {viewer.*} helpers read the totals that the bot recorded for your channel. {user.stats.streak} and {user.stats.streak.best} come from the watch-streak notifications of Twitch. The {engagement.*} helpers carry a value in one event only. {engagement.streak} comes with a watch-streak notification. {engagement.daysSinceLastSeen} comes with a returning chatter. {engagement.months} and {engagement.years} come with a moderator anniversary. In any other reply, they carry no value.

Pronouns and grammar

HelperWhat it givesExampleUse in
{genderedTerm}A gendered term matching the person pronouns (e.g. guy/gal)personCommands, event responses, pipelines, webhooks
{object}The object-case pronoun (e.g. them)themCommands, event responses, pipelines, webhooks
{possessive}The possessive pronoun (e.g. their)theirCommands, event responses, pipelines, webhooks
{presentTense}The present-tense to-be form (e.g. is/are)areCommands, event responses, pipelines, webhooks
{subject}The subject-case pronoun (e.g. they)theyCommands, event responses, pipelines, webhooks
{tense}Is or are while your channel is live, was or were when it is offline. The verb agrees with the person the command names, or with the person who used the command when nothing is typed after the command. In a shoutout it follows the live state of the person shouted out insteadisCommands, event responses, timers, pipelines, Discord, webhooks
{user.genderedTerm}A gendered term for the triggering userpersonCommands, event responses, pipelines, webhooks, viewer text
{user.object}The object-case pronoun for the triggering userthemCommands, event responses, pipelines, webhooks, viewer text
{user.possessive}The possessive pronoun for the triggering usertheirCommands, event responses, pipelines, webhooks, viewer text
{user.presentTense}The present-tense to-be form for the triggering userareCommands, event responses, pipelines, webhooks, viewer text
{user.pronouns}The triggering user recorded pronounsthey/themCommands, event responses, pipelines, webhooks, viewer text
{user.subject}The subject-case pronoun for the triggering usertheyCommands, event responses, pipelines, webhooks, viewer text
{user.tense}Is or are while your channel is live, was or were when it is offline. The verb agrees with the person who used the command. In a shoutout it follows the live state of the person shouted out insteadareCommands, event responses, pipelines, webhooks, viewer text
{user.verb:<sing|plur>}A singular/plural verb agreeing with the triggering user (e.g. {user.verb:plays|play}){user.verb:has|have} gives hasCommands, event responses, pipelines, webhooks
{verb:<sing|plur>}The first form when the person takes is (he, she, any other single pronoun, or a name), and the second form for they. The person is the one the command names, or the one who used the command when nothing is typed after the command (e.g. {verb:plays|play}){subject} {verb:plays|play} gives he playsCommands, event responses, pipelines, webhooks
HelperWhat it givesExampleUse in
{link}A profile link for the person the command names, or for the person who used the command when nothing is typed after the commandtwitch.tv/example_viewerCommands, event responses, pipelines, webhooks
{name}The display name of the person the command names, or of the person who used the command when nothing is typed after the command. If the bot does not know the named person yet, it asks Twitch and shows that person’s Twitch display name. It shows the word as typed only when no Twitch account has that name or the lookup failsExample_ViewerCommands, event responses, pipelines, webhooks
{user}The name of the person who used the command, as they write it (the display name). A chat reply uses the login when the two differ by more than letter caseExample_ViewerCommands, event responses, pipelines, webhooks, viewer text, Discord
{user.avatar}The link to the profile picture of the viewerhttps://static-cdn.jtvnw.net/jtv_user_pictures/viewerone.pngCommands, event responses, pipelines, webhooks
{user.bio}The profile description of the viewerI like botsCommands, event responses, pipelines, webhooks
{user.color}The chat color of the viewer#1E90FFCommands, event responses, pipelines, webhooks
{user.display}The display name of the viewer who triggered thisViewerOneCommands, event responses, pipelines, webhooks
{user.id}The triggering user platform ID123456789Commands, event responses, pipelines, webhooks, viewer text, Discord
{user.link}A profile link for the triggering usertwitch.tv/example_viewerCommands, event responses, pipelines, webhooks, viewer text
{user.login}The login name of the viewer who triggered thisvieweroneCommands, event responses, pipelines, webhooks
{user.mention}The viewer who triggered this, as an @mention@ViewerOneCommands, event responses, pipelines, webhooks
{user.name}The login name of the person who used the command, in lower caseexample_viewerCommands, event responses, pipelines, webhooks, viewer text, Discord
{user.platform}The platform the viewer is on, in lower casetwitchCommands, event responses, pipelines, webhooks
{user.platform.name}The platform the viewer is on, as a nameTwitchCommands, event responses, pipelines, webhooks
{user.provider}The platform the triggering user connected from (e.g. twitch)twitchCommands, event responses, pipelines, webhooks
{viewer.name}The viewer’s display name (engagement triggers)Example_Viewerevent responses, pipelines

Account, follow and subscription

HelperWhat it givesExampleUse in
{user.accountAge}How long ago the triggering user account was created3 yearsCommands, event responses, pipelines, webhooks, viewer text
{user.accountAge.days}How many days old the account of the viewer is1534Commands, event responses, pipelines, webhooks
{user.createdAt}The date the account of the viewer was created2022-08-14Commands, event responses, pipelines, webhooks
{user.followAge}How long the triggering user has followed the channel1 yearCommands, event responses, pipelines, webhooks, viewer text
{user.followAge.days}How many days the viewer has followed411Commands, event responses, pipelines, webhooks
{user.followedAt}The date the viewer started following2025-09-10Commands, event responses, pipelines, webhooks
{user.isFollower}Whether the viewer follows the channel: true or falsetrueCommands, event responses, pipelines, webhooks
{user.isSub}Whether the viewer is a subscriber: true or falsetrueCommands, event responses, pipelines, webhooks
{user.subTier}The subscription tier of the viewer as a number1Commands, event responses, pipelines, webhooks
{user.subTier.name}The subscription tier of the viewer as a nameTier 1Commands, event responses, pipelines, webhooks

Points and saved data

HelperWhat it givesExampleUse in
{user.data.<key>}A value stored for the viewer, with an optional default after a colon{user.data.color} gives blueCommands, event responses, pipelines, webhooks
{user.points}The currency balance of the viewer, with a thousands separator2,500Commands, event responses, pipelines, webhooks
{user.points.name}The name of the currency of the channelnomzCommands, event responses, pipelines, webhooks
{user.points.nextRank.gap}The balance difference to the viewer one place above. That balance only ties that place300Commands, event responses, pipelines, webhooks
{user.points.nextRank.name}The Twitch user id of the viewer one place above on the currency ranking123456789Commands, event responses, pipelines, webhooks
{user.points.rank}The place of the viewer on the currency ranking4Commands, event responses, pipelines, webhooks
{user.points.rank.ordinal}The place of the viewer on the currency ranking as an ordinal: 4th4thCommands, event responses, pipelines, webhooks
{user.points.raw}The currency balance of the viewer as a plain number2500Commands, event responses, pipelines, webhooks
{user.quotes.count}How many quotes the viewer said3Commands, event responses, pipelines, webhooks
{viewer.data.<key>}A per-viewer data field for the triggering user (e.g. {viewer.data.key}){viewer.data.deaths} gives 12Commands, event responses, pipelines, webhooks

Chat, watch and visit stats

HelperWhat it givesExampleUse in
{engagement.daysSinceLastSeen}Days since this viewer was last seen chatting14event responses, pipelines
{engagement.months}How many months this moderator has moderated the channel18event responses, pipelines
{engagement.streak}The viewer’s current watch-streak count5event responses, pipelines
{engagement.years}How many years this moderator has moderated the channel, worked out from the month count of {engagement.months} divided by 12. It gives a whole number at a full year (84 months gives 7), and one decimal otherwise (90 months gives 7.5, 85 months gives 7.1)1event responses, pipelines
{user.activity.level}How active the viewer is in this channel (new, casual, regular or veteran), from the viewer’s message count and the channel’s own stepsveteranCommands, event responses, pipelines, webhooks
{user.lastmessage}The triggering user most recent chat messagesee you tomorrowCommands, event responses, pipelines, webhooks
{user.messageCount}The triggering user total chat message count250Commands, event responses, pipelines, webhooks, viewer text
{user.stats.bits}The bits the viewer cheered in this channel2,300Commands, event responses, pipelines, webhooks
{user.stats.firstSeen.relative}How long ago the viewer was first seen in the channelone year agoCommands, event responses, pipelines, webhooks
{user.stats.lastSeen}The date the viewer was last seen in the channel2026-10-24Commands, event responses, pipelines, webhooks
{user.stats.lastSeen.relative}How long ago the viewer was last seen in the channel2 days agoCommands, event responses, pipelines, webhooks
{user.stats.streak}The current watch streak of the viewer, as Twitch reports it5Commands, event responses, pipelines, webhooks
{user.stats.streak.best}The best watch streak of the viewer, as Twitch reported it9Commands, event responses, pipelines, webhooks
{user.stats.watchTime.hours}The watch time of the viewer in hours12.5Commands, event responses, pipelines, webhooks
{user.stats.watchTime.long}The watch time of the viewer in words12 hours, 30 minutesCommands, event responses, pipelines, webhooks
{viewer.avgperday}The triggering user average chat messages per day since first seen8Commands, event responses, pipelines, webhooks
{viewer.botpercent}The triggering user share of chat messages that were commands, as a whole percent5Commands, event responses, pipelines, webhooks
{viewer.commands}The triggering user total commands used40Commands, event responses, pipelines, webhooks
{viewer.days}The triggering user whole days since first seen (at least 1 once seen)30Commands, event responses, pipelines, webhooks
{viewer.firstseen}When the triggering user was first seen in chat2025-03-01Commands, event responses, pipelines, webhooks
{viewer.messages}The triggering user total chat message count250Commands, event responses, pipelines, webhooks
{viewer.redemptions}The triggering user total channel point redemption count8Commands, event responses, pipelines, webhooks
{viewer.songrequests}The triggering user total song request count3Commands, event responses, pipelines, webhooks
{viewer.watchtime}The triggering user total watch time12h 0mCommands, event responses, pipelines, webhooks

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