Variables
The placeholders you can drop into any response to pull in live server data.
A variable is a placeholder baobun swaps for real data when a response is sent, so one saved message can read differently for every member and every giveaway.
Syntax
Wrap the variable name in single braces, with no spaces inside them.
{variable_name}To store one, branch on it, or loop over a list variable, see scripting.
Available variables
| Variable | Type | Output |
|---|---|---|
user.name | text | Username of the user |
user.display_name | text | Display name of the user |
user.nick | text | Server nickname of the user |
user.mention | text | Mention string of the user |
user.avatar | url | Global avatar URL of the user |
user.server_avatar | url | Server-specific avatar URL of the user |
user.claim_time | text | Time the user has to claim their prize |
user.entries | number | Total number of entries user has in the giveaway |
user.roles | list[id] | List of role IDs the user has |
user.names | list[text] | Comma-separated usernames of all members |
user.display_names | list[text] | Comma-separated display names of all members |
user.mentions | list[text] | Comma-separated mentions of all members |
user.nicks | list[text] | Comma-separated nicknames of all members |
user.avatars | list[url] | List of global avatar URLs of all members |
user.server_avatars | list[url] | List of server-specific avatar URLs of all members |