Rich Commands
This document explains what rich commands are and how they differ from basic commands.
Rich Commands Attributes
Rich commands are a useful part of Watora's commands which create unlimited possibilities.
Image URLs are automatically hidden
You can use this feature to create cool custom commands or welcome messages
There are variables
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.
Available variables and their attributes
in author.name
author is a variable, and name an attribute
Variable | Attributes |
| |
| |
| |
| |
|
current
only works if there's a current song.
random_member
is a random member taken from the current guild.
Variables without attributes
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 :
Specials
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 :
You can call a command
By using >>>
you can specify that the following word is a command.
Example :
You can even call several commands
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 :
What's the point of Rich Commands ?
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.
Last updated