Skip to main content

Module command

Module command 

Source
Expand description

Slash-command names the engine answers itself, the plugin commands ([[command]]) a session runs through RunExt and as /name args, the plugin functions ([[function]]) only the host calls, and the host libraries (uses) a package’s code may need.

Structs§

ExtCommand
One command an enabled package declares, as the session runs it.
HostLibrary
A JavaScript library the host provides to plugin code, as a package’s uses names it and its install disclosure describes it.
PluginFunction
One function an enabled package declares for the host to call, never the model: <plugin>.<name>.

Enums§

PackageSource
Where a package comes from, as the engine’s registry of packages knows it — unlike its name, which the package’s own plugin.toml gives.

Constants§

BUILTIN_COMMANDS
The engine’s own /name commands, with what each does. A plugin command may not take one of these names.