Rich commands are a useful part of Watora's commands which create unlimited possibilities.
You can use this feature to create cool custom commands or welcome messages
By writing a variable between curly brackets, you can get a real value.
author.avatar_url
gives a link, and becausechoice
is a Rich Command, the link is hidden.
in author.name
author is a variable, and name an attribute
Variable | Attributes |
| author content guild embeds id jump_url tts |
| avatar_url top_role display_name roles id mention name nick guild status |
| nsfw members guild name id category position |
| name owner_id features channels me icon_url shard_id |
| artwork author can_seek duration stream track uri |
current
only works if there's a current song.
random_member
is a random member taken from the current guild.
Variable | Documentation |
| Returns the current day's number. |
| Returns the current month's number. |
| Returns the current year's number. |
| Returns the number of members in the current guild. |
Example :
Number | Documentation |
| Generates a random number between nb1 and nb2. If not specified, nb1 is 0, and nb2 is 100. |
Using {~}
does the same thing as using{0~100}
Example :
By using >>>
you can specify that the following word is a command.
Example :
By adding &&
between your commands, you can start several commands at the same time.
Well they’re not exactly simultaneous. The commands are called in order, starting from the first one.
Example :
Custom Commands are Rich Commands.
Welcome and Goodbye messages are Rich Commands.
You can call a command in a Custom Command. See Custom Commands page to get started.
You can even mix several commands into one Custom Command.