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.

Here, I get my username and my avatar url

author.avatar_urlgives a link, and becausechoiceis a Rich Command, the link is hidden.

Available variables and their attributes

in author.nameauthor is a variable, and name an attribute

random_memberis a random member taken from the current guild.

Variables without attributes

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 :

Specials

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 :

You can call a command

By using >>>you can specify that the following word is a command.

Example :

The choice command chosen to start the flip command

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 :

Doing both commands

What's the point of Rich Commands ?

Last updated

Was this helpful?