IRCEventHandler.Command

Embodies the notion of a chat command, e.g. !hello.

Members

Aliases

_addSyntax
alias _addSyntax = syntaxes

Alias to make kameloso.typecons.UnderscoreOpDispatcher redirect calls to syntaxes but by the name addSyntax.

Functions

word
auto ref word(string word)

The command word, without spaces. Mutator.

Variables

_description
string _description;

Describes the functionality of the event handler function the parent IRCEventHandler annotates, and by extension, this IRCEventHandler.Command.

_hidden
bool _hidden;

Whether this is a hidden command or if it should show up in help listings.

_policy
PrefixPolicy _policy;

In what way the message is required to start for the annotated function to trigger.

_word
string _word;

The command word, without spaces.

syntaxes
string[] syntaxes;

Command usage syntax help strings.

Mixed In Members

From mixin UnderscoreOpDispatcher

opDispatch
auto ref opDispatch(T value)

Mutator.

opDispatch
auto opDispatch()

Accessor.