PluginBuilder

Builder used for configuring the bot's wired-plugin-loading options.

Constructors

Link copied to clipboard
constructor(parent: ExtensibleBotBuilder)

Properties

Link copied to clipboard

List of plugin IDs to disable. Plugins in this list will not be loaded automatically.

Link copied to clipboard

Whether to attempt to load wired plugin. Defaults to true.

Link copied to clipboard

Plugin manager builder, which you can replace if your needs require it.

Link copied to clipboard

Parent ExtensibleBotBuilder, for extension functions.

Link copied to clipboard

List of paths to load plugin from. Uses plugins/ in the current working directory by default.

Functions

Link copied to clipboard
fun disable(id: String)

Convenience function for disabling a plugin by ID.

Link copied to clipboard
fun pluginPath(path: Path)
fun pluginPath(path: String)

Convenience function for adding a plugin path.