All Variables — Ori Discord Bot
What variables can I use in Ori?
Section titled “What variables can I use in Ori?”Variables are placeholders that Ori replaces with real values when a message is sent. Type them exactly as shown — including the curly braces. No spaces inside the braces.
Variable reference
Section titled “Variable reference”| Variable | What it outputs | Example output | Used in |
|---|---|---|---|
{user} | @mentions the member | @zachary | Welcome |
{user.name} | Member’s display name (no mention) | zachary | Welcome |
{server} | Server name | My Community | Welcome, Channel Rename |
{server.members} | Current member count | 3,241 | Welcome, Channel Rename |
How to use variables
Section titled “How to use variables”Type the variable name exactly as shown in your message template. When Ori sends the message, it replaces the variable with the real value.
Example template:
Welcome to {server}, {user}! You're member #{server.members}.What gets sent:
Welcome to My Community, @zachary! You're member #3,241.Common mistakes
Section titled “Common mistakes”Spaces inside braces: { user } does not work. Use {user}.
Wrong syntax: $user, <user>, %user% do not work. Only {variable} format is supported.
Unsupported variables: If you type a variable name that doesn’t exist, it will appear as literal text in the message.
Where variables work
Section titled “Where variables work”- Welcome plugin — message content (text and embed description, title, footer)
- Channel rename plugin — channel name template
Variables do not work in:
- Giveaway prize names or descriptions
- Reaction role message content
- Moderation log messages (these use automatic formatting)