IRCEventHandler.Command

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

Members

Aliases

_addSyntax
alias _addSyntax = syntaxes

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

Mixins

__anonymous
mixin UnderscoreOpDispatcher
Undocumented in source.

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)
Undocumented in source. Be warned that the author may not have intended to support it.
opDispatch
auto opDispatch()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta