Interface PluginBootstrap


  • public interface PluginBootstrap
    Configures and creates a plugin.
    • Method Detail

      • setup

        reactor.core.publisher.Mono<Plugin> setup​(Bot bot,
                                                  PropertyReader pluginProperties)
        Creates a Plugin derived from the given bot and properties.
        Parameters:
        bot - the bot instance
        pluginProperties - the plugin properties
        Returns:
        the configured Plugin
      • initPluginProperties

        reactor.core.publisher.Mono<PropertyReader> initPluginProperties()
        Initializes the plugin properties.
        Returns:
        the plugin properties