DefaultCommands

Undocumented in source.

Constructors

this
this(Bot bot)
Undocumented in source.

Alias This

_context

Members

Functions

add
void add(Command )
Undocumented in source. Be warned that the author may not have intended to support it.
category
string category()
Undocumented in source. Be warned that the author may not have intended to support it.
commandNames
string[] commandNames()
Undocumented in source. Be warned that the author may not have intended to support it.
context
Context context()
Undocumented in source. Be warned that the author may not have intended to support it.
getCommand
Command* getCommand(char[] name)
Undocumented in source. Be warned that the author may not have intended to support it.
help
void help(string commandName)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_context
Context _context;
Undocumented in source.
bot
Bot bot;
Undocumented in source.
helpCommand
Command helpCommand;
Undocumented in source.

Inherited Members

From ICommandSet

category
string category()

Human-readable categorical name for the commands in the set.

context
Context context()

Context for the currently executing command.

add
void add(Command cmd)

Add the command cmd to the command set.

getCommand
Command* getCommand(char[] cmdName)

Lookup a command in this command set by one of its names.

commandNames
string[] commandNames()

Sorted list of the primary names of all commands in the command set.

Meta