IRCPluginImpl.commandsImpl

Collects all IRCEventHandler.Command command words and IRCEventHandler.Regex regex expressions that this plugin offers at compile time, then at runtime returns them alongside their descriptions and their visibility, as an associative array of IRCPlugin.CommandMetadatas keyed by command name strings.

This function is private, but since it's part of a mixin template it will be visible at the mixin site. Plugins can as such override IRCPlugin.commands with their own code and invoke commandsImpl as a fallback.

mixintemplate IRCPluginImpl(Flag!"debug_" debug_ = No.debug_, string module_ = __MODULE__)
private @safe const pure nothrow
commandsImpl
()

Return Value

Type: auto

Associative array of tuples of all command metadata (descriptions, syntaxes, and whether they are hidden), keyed by IRCEventHandler.Command.words and IRCEventHandler.Regex.expressions.