Commands

Information regarding the commands module

Make sure Gaius has the following role perms for this module to work: Manage Messages, Embed Links

Commands

Command

Description

Perm

!module commands

Enable/Disable the module

:crown2:

!learn input output

Creates a new command

:crown2:

!unlearn input

Deletes a custom command

:crown2:

!cmds

PMs a list of all custom commands

Custom Variables

Put these at the end of your command to give it special effects

Variable

Description

%cd #% (%cd 10%)

Cooldown for the command in seconds

%admin

Staff only command

%me

Will mention the user who did the command

%user

Will be replaced with the first-mentioned user

%message

Will be replaced by the entirety of the message the person sends

%dm

DM the user the response

%embed

Make the response a rich embed

Requirements

Example Requirements

Description

{requires: @Dev Team}

Only those with the Dev Team role can use the command

{deny: @Dev Team}

Anyone with the Dev Team role cannot use the command

{role: +@Dev Team, +@otherrole}

Doing the command gives the + marked roles

{role: -@Dev Team, -@otherrole}

Doing the command removes the - marked roles

{role: @Dev Team, @otherrole}

The command will toggle the roles, if they don't have them

they will get them. If they do have them they loose it.

Example using the above requirements

?learn SpamWarn %user refrain from spamming. {requires: @Dev Team}

?learn FAQ Make sure you've checked out the #FAQ! {requires: @Helpers}