Pronoun helpers go in the reply of a command, an event response, a pipeline step or a webhook. When the reply is sent, the bot fills in the words from the saved pronouns of the person it is about. So one reply reads right for every viewer, and you never keep a copy for each pronoun.
For example, write {Target.Subject} {target.presentTense} a great streamer. in a command that names someone.
For a person with they/them saved, the result is They are a great streamer.
The helpers themselves are listed on User helpers and Target helpers.
Where the helpers work
The pronoun helpers work in command replies, event responses, pipelines and webhooks.
Every user. form except {user.verb:...} also works in a viewer’s own text when the channel has Viewer Templates on, as described on Features. There they are about the viewer who typed the text.
Timers and Discord notifications are not about one person, so the bot refuses to save a reply there that uses a pronoun helper.
The bare {tense} works in all of those places, also in timers and Discord notifications. Where there is no person, it gives are or were.
It does not work in a viewer’s own text. There, write {user.tense}.
The words each pronoun gives
| Helper | he | she | they | any or other |
|---|---|---|---|---|
| Subject | he | she | they | the name |
| Object | him | her | them | the name |
| Possessive | his | her | their | the name with 's |
| Present tense | is | is | are | is |
Past tense (from {tense} when offline) | was | was | were | was |
| Gendered term | guy | gal | person | person |
Neopronouns give their own words. For xe, the subject is xe, the object is xem and the possessive is xyr. For zie, the subject is zie, and the object and the possessive are hir. Both give “person” as the gendered term, and both take is and was, because only “they” takes the plural verb.
The pronoun list also offers three mixed sets. They are he/they, she/they and he/she. he/they gives he, them and their. she/they gives she, them and their. he/she gives he, she and her. All three give “person” as the gendered term, and all three take is and was, because their subject is not “they”.
Write a sentence that fits
Pick the helper
{subject}gives he, she or they. Use it where a sentence needs “he”, “she” or “they”.{object}gives him, her or them. Use it after a verb or a word like “to” and “for”.{possessive}gives his, her or their. Use it before a noun, as in “their cat”.{genderedTerm}gives guy, gal or person.{presentTense}gives is or are. It does not change with the stream.{tense}gives is or are while the stream is live, and was or were when it is offline.{verb:plays|play}gives the first form for he and she, and the second form for they.
In a shoutout, “live” in {tense} means the person you shout out is live.
Everywhere else it means your channel is live, also for {target.tense}.
Pick the person
A bare helper such as {subject} follows the first word typed after the command.
The bot treats that word as the person named, with a leading @ removed.
If nothing is typed after the command, it follows the person who used the command.
In !hug @someone, {subject} is about someone.
In !lurk getting food, {subject} is about “getting”, so it gives they.
For a command whose words are not a person, use the user. forms, such as {user.subject}.
Add user. or target. to choose the person yourself.
{user.subject} is always about the person who used the command, and {target.subject} is always about the person the command names.
The same works for the other helpers, such as {user.possessive}, {target.object}, {target.verb:plays|play} and {target.tense}.
Start a sentence with a capital
Write the first letter of the helper in upper case to get a capital first letter.
{Subject} gives He, She or They.
{Target.Subject}, {User.Possessive} and {Tense} work the same way.
Only the very first letter counts, so {target.Subject} still gives he, she or they.
A verb from {verb:plays|play} never gets a capital.
Make the verb agree
“He plays” and “they play” use different forms, so do not type the verb after {subject}.
Write {verb:singular|plural} instead, with the two forms and a pipe between them.
The first form is for he and she, and the second form is for they.
Without a pipe, the bot leaves the text as you typed it, so you can see the mistake in chat.
For the verb “to be”, use {presentTense} or {tense}.
Where the pronouns come from
For a Twitch viewer, the bot reads their pronouns from the alejo.io pronoun service, by their Twitch login. It checks when that viewer chats in a channel the bot is in, at most once a day per viewer, and saves the result. A reply reads the saved pronouns, which are the same in every channel. Chat on other platforms does not start a lookup.
A viewer can also pick pronouns themselves on their viewer pages.
You can set a viewer’s pronouns with a command that runs the Set pronoun action, as described on Pipelines.
The action takes the pronoun set by its name, such as he/him, and later lookups do not change it.
Give the action clear or reset instead, and the bot goes back to the pronoun service at the next lookup.
Two pronoun sets
A person can have a main set and a second set, such as he/him with they/them.
On the viewer page, these are Your pronouns and Also uses.
The words in a reply always come from the main set.
The second set only shows in {user.pronouns}, which gives a badge such as he/they.
So for a viewer who uses he/they, put he/him as the main set and they/them as the second set.
A reply then reads “he is”, and {user.pronouns} still shows he/they.
When the bot has no pronouns
If the bot has no pronouns for a person, it uses they, them, their, person, are and were. That happens for a person with no pronouns at the pronoun service, or who never chatted on Twitch where the bot is, and who never picked pronouns in the bot. The verb takes the plural form, so the line reads “they play”. Each helper still gives words, so a missing pronoun never leaves braces in the reply.
When the pronouns are “any” or “other”
Two pronoun sets name a choice, not words for a sentence: any and other. The pronoun list may name them any/all and other/ask, and both spellings work the same. A guess such as “they” can be wrong for these people, so the bot uses the person’s name where a pronoun would go.
{subject}and{object}give the name.{possessive}gives the name with ‘s, such as “Alex’s”.{presentTense}gives is, and{tense}gives is or was.{verb:plays|play}gives the first form.{genderedTerm}gives person.
The name is the person’s display name, and it keeps its own capitals, also in {Subject}, so “mAyA_tV” stays “mAyA_tV”.
If the bot has no name for the person, it uses the they/them words instead.
A line that already names the person shows the name twice.
{name} said {possessive} line gives “Alex said Alex’s line”, so keep one name in the line.
For example, {Subject} {presentTense} great. gives Alex is great. for these people, and He is great. for he.
Examples
Each example shows what you type, then the result for he, she, they and any.
A shoutout.
Typed: Shoutout to {target.displayname}! {Target.Subject} {target.presentTense} a great streamer. Go follow {target.object}!
- he:
Shoutout to Alex! He is a great streamer. Go follow him! - she:
Shoutout to Alex! She is a great streamer. Go follow her! - they:
Shoutout to Alex! They are a great streamer. Go follow them! - any:
Shoutout to Alex! Alex is a great streamer. Go follow Alex!
A verb that must agree.
Typed: {target.displayname} is live. Say hi to {target.object} and see what {target.subject} {target.verb:plays|play}.
- he:
Alex is live. Say hi to him and see what he plays. - she:
Alex is live. Say hi to her and see what she plays. - they:
Alex is live. Say hi to them and see what they play. - any:
Alex is live. Say hi to Alex and see what Alex plays.
A possessive and a term.
Typed: {user} loves {user.possessive} cat. {user} is a good {user.genderedTerm}.
- he:
Alex loves his cat. Alex is a good guy. - she:
Alex loves her cat. Alex is a good gal. - they:
Alex loves their cat. Alex is a good person. - any:
Alex loves Alex's cat. Alex is a good person.
A shoutout line that follows the stream of the person you shout out.
Typed in a shoutout: {Target.Subject} {target.tense} streaming Tetris.
- he, live:
He is streaming Tetris. - she, offline:
She was streaming Tetris. - they, live:
They are streaming Tetris. - they, offline:
They were streaming Tetris. - any, offline:
Alex was streaming Tetris.
Back to Template helpers. For the places helpers work, special characters and HTML, read Variables and templates.