kameloso.plugins.admin.debugging

Implementation of Admin plugin functionality that borders on debugging. For internal use.

The IRCEvent-annotated handlers must be in the same module as the AdminPlugin, but these implementation functions can be offloaded here to limit module size a bit.

Members

Functions

onAnyEventImpl
void onAnyEventImpl(AdminPlugin plugin, IRCEvent event)

Prints incoming events to the local terminal, in forms depending on which flags have been set with bot commands.

onCommandBusImpl
void onCommandBusImpl(AdminPlugin plugin, string input)

Sends an internal bus message to other plugins, much like how such can be sent with the Pipeline plugin.

onCommandPrintBytesImpl
void onCommandPrintBytesImpl(AdminPlugin plugin, IRCEvent event)

Toggles a flag to print all incoming events *as individual bytes*.

onCommandPrintRawImpl
void onCommandPrintRawImpl(AdminPlugin plugin, IRCEvent event)

Toggles a flag to print all incoming events *raw*.

onCommandShowUserImpl
void onCommandShowUserImpl(AdminPlugin plugin, IRCEvent event)

Prints the details of one or more specific, supplied users to the local terminal.

onCommandShowUsersImpl
void onCommandShowUsersImpl(AdminPlugin plugin)

Prints out the current users array of the AdminPlugin's IRCPluginState to the local terminal.

onCommandStatusImpl
void onCommandStatusImpl(AdminPlugin plugin)

Dumps information about the current state of the bot to the local terminal.

onCommandSudoImpl
void onCommandSudoImpl(AdminPlugin plugin, IRCEvent event)

Sends supplied text to the server, verbatim.

See Also

Meta