Interfacecore/pluginv0.4.1PluginOptionsDeclares where a plugin may attach. Pass it as the Plugin<Opts> type argument. attach() fails to compile when the host does not match. interface PluginOptionsExamplesCopy// attaching this to an http bot fails to compile class Voice extends Plugin<{ transport: 'gateway' }> { public async init(): Promise<void> {} }Member overviewPropertiesruntimetransportPropertiesoptionalruntimeWhich runtime the plugin runs on. 'any' attaches to either one. runtime: "server" | "edge" | "any";Default:'any'optionaltransportWhich transport the plugin runs on. 'any' attaches to either one. transport: "gateway" | "http" | "any";Default:'any'
optionalruntimeWhich runtime the plugin runs on. 'any' attaches to either one. runtime: "server" | "edge" | "any";Default:'any'
optionaltransportWhich transport the plugin runs on. 'any' attaches to either one. transport: "gateway" | "http" | "any";Default:'any'