variables - placeholders & functions
Last updated
Last updated
you can escape a placeholder or function via a backslash \
before your placeholder. this way, the placeholder will not replace (e.g. \{user}
).
a bit confused on what a placeholder is? check out our beginner guide on using simple placeholders.
advanced usage: user information can all be extended into a function to swap the user target of the information. for example, {user_balance:395526710101278721}
would provide balance of that specific user id.
this means that {user_balance:[$1]}
can provide the user balance of the first argument. for more information, read advanced ii: using user arguments in placeholders.
* = due to discord's constraints with intents, the numbers of bots / without bots can be unreliable since october 2020. this is a result of not being able to cache every bot without caching all members in your server. servers with premium are equipped with premium caching to bypass these restraints.
** = due to discord's constraints with intents, random member variables only consists of cached members (usually members who are active in your chat). servers with premium are equipped with premium caching to bypass these restraints.
* = returns "Max Level Reached" if it's already at level 3.
there are no examples for these because this depends on either user input, or something else, and could simply be anything.
there are no examples for these because this depends on either user input, or defined elsewhere in your autoresponder. this can be simply anything.
for information on using this, please view intermediate guides on ranges and making choices, locked choices, as well as advanced guides on different matchmodes and using user arguments.
completely lost? check out our beginner guide on using simple functions.
you can enable this to multiple users / permissions / roles / channels etc. by putting multiple function variables in your autoresponder.
using these functions can be pretty difficult! read up on our intermediate section on ranges and making choices, as well as locked choices, to fully understand. for using arguments, read the advanced ii: using user arguments guide.