Documentation / Custom Commands & Responses

Custom Commands & Responses

Create your own commands, aliases and auto responses.

!learn

ModeratorPrefix + Slash

Create a custom command that can be used to do a number of things. There are many variables that can be used.
%admin, %mod, %helper: Restrict the command to the designated staff level
%dm: Will dm the response instead of posting it in the channel
%embed: Will output the response into an embed format instead of plain text
%c: Can only be used with %embed. Provide an 8 number decimal or 6 character hexidecimal color to define the color of the embed
%cd: The cooldown of the custom command, in seconds. Can be up to 9,999,999. Does not apply to staff
%target: If the first argument in the command is a mention or ID, this command will target that member instead. If no valid member is found the command will not fire. Note, the command will not dm the member unless the %dm flag is also supplied.
%mention: If the first argument in the command is a mention or ID, unless target is also supplied in which case it will be second argument, then this will be replaced with that mention/tag. If none is supplied then the author's mention/tag will be used instead.
%content, %message: Will take whatever content is left after arguments are parsed and replace this variable with it.
%option: For use with the 'list' option, whatever valid option from the 'list' is used will be placed here.
--require=: A list of roles that this command requires to be used. Only a single role from the list is required to access, not all.
--deny=: A list of roles that can not use this command. Only a single role from the list is required to deny access, not all.
--role=: A list of roles that will be toggled, added, or removed when the command is done. A + indicates the role will be added, a - indicates the role will be removed. Putting neither will result in the role being toggled.
--list=: A list of valid inputs for the custom command. Note these CAN NOT have spaces.
Note: The above requires input to be split, by, commas.

Usage

!learn name response

Examples

!learn newcommand Response to custom command created.
Slash command /learn
OptionTypeDescription
commandname requiredTextThe name of the custom command
output requiredTextThe output of the command, including any flags

“If you think you're smart enough to teach me, then I'd recommend a job as a hot air balloon.”

!unlearn

ModeratorPrefixModule: commands

Remove a custom command that's been previous saved.

Usage

!unlearn command name

Examples

!unlearn CommandName

“I see someone is back from the stratosphere. Feel better back here in reality?”

!cmds

EveryonePrefixModule: commands

List all custom commands you have created.

Usage

!cmds

Examples

!cmds

“Wanna guess what's longer, the list of my grievances or of your commands?”

!alias

AdminPrefix

Register an alias for a command, force an alias for a command, and list aliases. Forcing an alias means the command can no longer be accessed by its original name

Usage

!alias command new name
!alias force command
!alias list command

Examples

!alias ban bean
!alias force kick
!alias list mute

“If you think the command names are dumb now, wait until you get a load of yours.”

!unalias

AdminPrefix

Remove an alias from a command, making it no longer usable via that name. You also can unforce aliases from a command by providing 'force'.

Usage

!unalias command alias
!unalias force command

Examples

!unalias ban bean
!unalias force kick

“Crawling back to me eh? Admit it, my command names are better.”

!autorespond

AdminPrefix

Add, remove, and list auto responder triggers. These are phrases or messages that will be posted once a user says a specific word. Note that there is a fixed cooldown of 60 seconds between triggers.

Usage

!autorespond list
!autorespond add word message
!autorespond remove word
!autorespond enable/disable word/id

Examples

!autorespond list
!autorespond add Word Message
!autorespond remove Word
!autorespond enable 1

“Woooooow it's almost like I'm a real robot now. Beep boop you said pancakes I say waffles.”