Commands

Create custom commands for your community with variable outputs and settings. Great for social and utility commands.

REQUIRES: Manage Messages, Embed Links, Manage Roles

Setup 👑

Command Description Example
!module commands Enable/Disable the module !module commands
!learn input output Learn a new command !learn hug %me hugged %user! %cd 2%
!unlearn input Unlearn a command !unlearn hug
!cmds View all local commands !cmds

 

Shortcodes

Add these into the output of the learn command to customize your commands.

Shortcode Description Placement
%message Sends specified response message At the beginning
%server Sends server name Anywhere
%channel Sends current channel name Anywhere
%me Mentions the command issuer Anywhere
%user Mentions the first mentioned user Anywhere
%target Sets the person to receive a dm if %dm is used, only for the first-mentioned user Anywhere
%dm Sets the output to DM At the end
%cCommandName
Example: %cwarn
Sends specified full message into the designated command At the end
%embed Sets output to embed At the end
%admin Sets command for "Admin Only" At the end
%cd #%
Example: %cd 10%
Sets command cooldown in minutes At the end

 

Restrictions

Command Description Example
{require: role, role, role} Requires command user to have a certain role(s)
Either roles' ID or name can be used
Must be separated with a comma
{require: 493297216392396820, Seasonal Event}
Place at the end of the learn command
{deny: role, role, role} Denies usage to the command user with a certain role(s)
Either roles' ID or name can be used
Must be separated with a comma
{deny: Member, Muted, Chad}
Place at the end of the learn command
{role: role, +role, -role} Adds, removes, or toggles a role for the command user
+ ---> Only adds role
- ---> Only removes role
No sign ---> Only toggles role.
Must be spaced by a comma
{role: ToggleRole}
{role: +PepeHands -PepegaHands}
{role: -BeanPole}
Place at the end of the learn command

 

Examples

Warn + Custom message

Because why not? This command will issue a warn for the message provided while also sending the message above the warn DM.

  • ?learn TEST %target %dm %message %cwarn
  • ?test @mention Behave yourself.

 

DM + Verbal Warn

In this example, the user will receive an embedded DM telling them their avatar must be SFW.
?learn avatar Notify: %server requires users to have SFW avatars. 

Failure to adhere to these requirements may result in punishment from staff %user. %target %dm %embed %admin