New Subcommand (Expression) — DiSky

Addon: DiSky · Category: Expression · Since: 5.0.0-a2

Syntax

[a] new sub[ ]command (named|with [the] name) %text% with [the] desc[ription] %text%

Description

Creates a subcommand. Same naming rules as a slash command.

Examples

set {_ban} to a new subcommand named "ban" with description "Ban someone"
add {_ban} to subcommands of {_mod}

View source