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
| Helper | What it gives | Example | Use in |
|---|---|---|---|
{genderedTerm} | A gendered term matching the person pronouns (e.g. guy/gal) | person | Commands, event responses, pipelines, webhooks |
{object} | The object-case pronoun (e.g. them) | them | Commands, event responses, pipelines, webhooks |
{possessive} | The possessive pronoun (e.g. their) | their | Commands, event responses, pipelines, webhooks |
{presentTense} | The present-tense to-be form (e.g. is/are) | are | Commands, event responses, pipelines, webhooks |
{subject} | The subject-case pronoun (e.g. they) | they | Commands, 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 instead | is | Commands, event responses, timers, pipelines, Discord, webhooks |
{user.genderedTerm} | A gendered term for the triggering user | person | Commands, event responses, pipelines, webhooks, viewer text |
{user.object} | The object-case pronoun for the triggering user | them | Commands, event responses, pipelines, webhooks, viewer text |
{user.possessive} | The possessive pronoun for the triggering user | their | Commands, event responses, pipelines, webhooks, viewer text |
{user.presentTense} | The present-tense to-be form for the triggering user | are | Commands, event responses, pipelines, webhooks, viewer text |
{user.pronouns} | The triggering user recorded pronouns | they/them | Commands, event responses, pipelines, webhooks, viewer text |
{user.subject} | The subject-case pronoun for the triggering user | they | Commands, 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 instead | are | Commands, 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 has | Commands, 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 plays | Commands, event responses, pipelines, webhooks |
Names and links
| Helper | What it gives | Example | Use 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 command | twitch.tv/example_viewer | Commands, 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 fails | Example_Viewer | Commands, 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 case | Example_Viewer | Commands, event responses, pipelines, webhooks, viewer text, Discord |
{user.avatar} | The link to the profile picture of the viewer | https://static-cdn.jtvnw.net/jtv_user_pictures/viewerone.png | Commands, event responses, pipelines, webhooks |
{user.bio} | The profile description of the viewer | I like bots | Commands, event responses, pipelines, webhooks |
{user.color} | The chat color of the viewer | #1E90FF | Commands, event responses, pipelines, webhooks |
{user.display} | The display name of the viewer who triggered this | ViewerOne | Commands, event responses, pipelines, webhooks |
{user.id} | The triggering user platform ID | 123456789 | Commands, event responses, pipelines, webhooks, viewer text, Discord |
{user.link} | A profile link for the triggering user | twitch.tv/example_viewer | Commands, event responses, pipelines, webhooks, viewer text |
{user.login} | The login name of the viewer who triggered this | viewerone | Commands, event responses, pipelines, webhooks |
{user.mention} | The viewer who triggered this, as an @mention | @ViewerOne | Commands, event responses, pipelines, webhooks |
{user.name} | The login name of the person who used the command, in lower case | example_viewer | Commands, event responses, pipelines, webhooks, viewer text, Discord |
{user.platform} | The platform the viewer is on, in lower case | twitch | Commands, event responses, pipelines, webhooks |
{user.platform.name} | The platform the viewer is on, as a name | Twitch | Commands, event responses, pipelines, webhooks |
{user.provider} | The platform the triggering user connected from (e.g. twitch) | twitch | Commands, event responses, pipelines, webhooks |
{viewer.name} | The viewer’s display name (engagement triggers) | Example_Viewer | event responses, pipelines |
Account, follow and subscription
| Helper | What it gives | Example | Use in |
|---|---|---|---|
{user.accountAge} | How long ago the triggering user account was created | 3 years | Commands, event responses, pipelines, webhooks, viewer text |
{user.accountAge.days} | How many days old the account of the viewer is | 1534 | Commands, event responses, pipelines, webhooks |
{user.createdAt} | The date the account of the viewer was created | 2022-08-14 | Commands, event responses, pipelines, webhooks |
{user.followAge} | How long the triggering user has followed the channel | 1 year | Commands, event responses, pipelines, webhooks, viewer text |
{user.followAge.days} | How many days the viewer has followed | 411 | Commands, event responses, pipelines, webhooks |
{user.followedAt} | The date the viewer started following | 2025-09-10 | Commands, event responses, pipelines, webhooks |
{user.isFollower} | Whether the viewer follows the channel: true or false | true | Commands, event responses, pipelines, webhooks |
{user.isSub} | Whether the viewer is a subscriber: true or false | true | Commands, event responses, pipelines, webhooks |
{user.subTier} | The subscription tier of the viewer as a number | 1 | Commands, event responses, pipelines, webhooks |
{user.subTier.name} | The subscription tier of the viewer as a name | Tier 1 | Commands, event responses, pipelines, webhooks |
Points and saved data
| Helper | What it gives | Example | Use in |
|---|---|---|---|
{user.data.<key>} | A value stored for the viewer, with an optional default after a colon | {user.data.color} gives blue | Commands, event responses, pipelines, webhooks |
{user.points} | The currency balance of the viewer, with a thousands separator | 2,500 | Commands, event responses, pipelines, webhooks |
{user.points.name} | The name of the currency of the channel | nomz | Commands, event responses, pipelines, webhooks |
{user.points.nextRank.gap} | The balance difference to the viewer one place above. That balance only ties that place | 300 | Commands, event responses, pipelines, webhooks |
{user.points.nextRank.name} | The Twitch user id of the viewer one place above on the currency ranking | 123456789 | Commands, event responses, pipelines, webhooks |
{user.points.rank} | The place of the viewer on the currency ranking | 4 | Commands, event responses, pipelines, webhooks |
{user.points.rank.ordinal} | The place of the viewer on the currency ranking as an ordinal: 4th | 4th | Commands, event responses, pipelines, webhooks |
{user.points.raw} | The currency balance of the viewer as a plain number | 2500 | Commands, event responses, pipelines, webhooks |
{user.quotes.count} | How many quotes the viewer said | 3 | Commands, 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 12 | Commands, event responses, pipelines, webhooks |
Chat, watch and visit stats
| Helper | What it gives | Example | Use in |
|---|---|---|---|
{engagement.daysSinceLastSeen} | Days since this viewer was last seen chatting | 14 | event responses, pipelines |
{engagement.months} | How many months this moderator has moderated the channel | 18 | event responses, pipelines |
{engagement.streak} | The viewer’s current watch-streak count | 5 | event 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) | 1 | event 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 steps | veteran | Commands, event responses, pipelines, webhooks |
{user.lastmessage} | The triggering user most recent chat message | see you tomorrow | Commands, event responses, pipelines, webhooks |
{user.messageCount} | The triggering user total chat message count | 250 | Commands, event responses, pipelines, webhooks, viewer text |
{user.stats.bits} | The bits the viewer cheered in this channel | 2,300 | Commands, event responses, pipelines, webhooks |
{user.stats.firstSeen.relative} | How long ago the viewer was first seen in the channel | one year ago | Commands, event responses, pipelines, webhooks |
{user.stats.lastSeen} | The date the viewer was last seen in the channel | 2026-10-24 | Commands, event responses, pipelines, webhooks |
{user.stats.lastSeen.relative} | How long ago the viewer was last seen in the channel | 2 days ago | Commands, event responses, pipelines, webhooks |
{user.stats.streak} | The current watch streak of the viewer, as Twitch reports it | 5 | Commands, event responses, pipelines, webhooks |
{user.stats.streak.best} | The best watch streak of the viewer, as Twitch reported it | 9 | Commands, event responses, pipelines, webhooks |
{user.stats.watchTime.hours} | The watch time of the viewer in hours | 12.5 | Commands, event responses, pipelines, webhooks |
{user.stats.watchTime.long} | The watch time of the viewer in words | 12 hours, 30 minutes | Commands, event responses, pipelines, webhooks |
{viewer.avgperday} | The triggering user average chat messages per day since first seen | 8 | Commands, event responses, pipelines, webhooks |
{viewer.botpercent} | The triggering user share of chat messages that were commands, as a whole percent | 5 | Commands, event responses, pipelines, webhooks |
{viewer.commands} | The triggering user total commands used | 40 | Commands, event responses, pipelines, webhooks |
{viewer.days} | The triggering user whole days since first seen (at least 1 once seen) | 30 | Commands, event responses, pipelines, webhooks |
{viewer.firstseen} | When the triggering user was first seen in chat | 2025-03-01 | Commands, event responses, pipelines, webhooks |
{viewer.messages} | The triggering user total chat message count | 250 | Commands, event responses, pipelines, webhooks |
{viewer.redemptions} | The triggering user total channel point redemption count | 8 | Commands, event responses, pipelines, webhooks |
{viewer.songrequests} | The triggering user total song request count | 3 | Commands, event responses, pipelines, webhooks |
{viewer.watchtime} | The triggering user total watch time | 12h 0m | Commands, event responses, pipelines, webhooks |
Back to Template helpers. For the places helpers work, special characters and HTML, read Variables and templates.