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

Variable

Attributes

message

attachments

author

content

created_at

edited_at

guild

embeds

id

jump_url

tts

author

user

member

random_member

voice color bot

avatar_url top_role display_name

roles

joined_at

default_avatar_url

id

mention

discriminator

name

nick

guild

is_avatar_animated

status

channel

nsfw

members

slowmode_delay

guild

name

id

category

created_at

position

guild

server

name

afk_timeout

afk_channel

id region

owner_id

unavailable

mfa_level

features

splash_url

channels

me

icon_url

shard_id

created_at

current

artwork

author

can_seek

duration

identifier

requester

stream

thumbnail

track

uri

currentonly works if there's a current song.

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 ?