Skip to main content

Module plugin

Module plugin 

Source

Modules§

help
stats

Structs§

ChatWriter
Short-lived scoped handle for a plugin to write messages to the chat.
CommandContext
Context passed to a plugin’s handle method.
CommandInfo
Describes a single command for /help and autocomplete.
Completion
A static autocomplete hint for a command argument.
HistoryReader
Scoped read-only handle to a room’s chat history.
PluginRegistry
Central registry of plugins. The broker uses this to dispatch / commands.
RoomMetadata
Frozen snapshot of room state for plugin consumption.
UserInfo
A user’s online presence.

Enums§

PluginResult
What the broker should do after a plugin handles a command.

Traits§

Plugin
A plugin that handles one or more / commands.

Type Aliases§

BoxFuture
Boxed future type used by Plugin::handle for dyn compatibility.