Interfacecore/pluginv0.10.0PluginOptionsDeclares 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 overviewPropertiesruntimetransportPropertiesruntimeWhich runtime the plugin runs on. 'any' attaches to either one. runtime?: 'server' | 'edge' | 'any'Default:'any'transportWhich transport the plugin runs on. 'any' attaches to either one. transport?: 'gateway' | 'http' | 'any'Default:'any'
runtimeWhich runtime the plugin runs on. 'any' attaches to either one. runtime?: 'server' | 'edge' | 'any'Default:'any'
transportWhich transport the plugin runs on. 'any' attaches to either one. transport?: 'gateway' | 'http' | 'any'Default:'any'