Rich Commands
This document explains what rich commands are and how they differ from basic commands.
Last updated
This document explains what rich commands are and how they differ from basic commands.
Last updated
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
message
author
user
member
random_member
channel
guild
server
current
current
only works if there's a current song.
random_member
is a random member taken from the current guild.
Variable
Documentation
day
Returns the current day's number.
month
Returns the current month's number.
year
Returns the current year's number.
server_members
Returns the number of members in the current guild.
Example :
Number
Documentation
(nb1)~(nb2)
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.