Commands

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

REQUIRES: Manage Messages, Embed Links

Setup

Command Description
!module commands Enable/Disable the module
!learn input output Learn a new command
!unlearn input Unlearn a command
!cmds View all local commands

Shortcodes

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

%message Message contents
%server Server name
%channel Channel name
%me Mentions the command issuer
%user First mentioned user
%target Sets the person to receive a dm if %dm is used, just for the first-mentioned user
%dm Sets the output to DM
%cCommandName
Example: %cwarn
Full message into the command designated.
%embed Sets output to embed
%admin Admin only command
%cd #%
Example: %cd 10%
Cooldown in minutes

Restrictions

{require: role, role, role} Require that the person using the command have a certain role or roles, you can use either an id or name, roles must be spaced by a comma.
{deny: role, role, role} Require that the person using the command NOT have a certain role or roles, you can use either an id or name, roles must be spaced by a comma.
{role: role, +role, -role} Add, remove, or toggle a role for the person using the command, a + is a role to be added only, a - is for a role to removed only, and not using either will remove or add the role if the member has it or not. Roles must be spaced by a comma.

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
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