Skip to content

    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

    VariableTypeOutput
    user.nametextUsername of the user
    user.display_nametextDisplay name of the user
    user.nicktextServer nickname of the user
    user.mentiontextMention string of the user
    user.avatarurlGlobal avatar URL of the user
    user.server_avatarurlServer-specific avatar URL of the user
    user.claim_timetextTime the user has to claim their prize
    user.entriesnumberTotal number of entries user has in the giveaway
    user.roleslist[id]List of role IDs the user has
    user.nameslist[text]Comma-separated usernames of all members
    user.display_nameslist[text]Comma-separated display names of all members
    user.mentionslist[text]Comma-separated mentions of all members
    user.nickslist[text]Comma-separated nicknames of all members
    user.avatarslist[url]List of global avatar URLs of all members
    user.server_avatarslist[url]List of server-specific avatar URLs of all members