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.
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.