Interface: PluginWithoutExtension<E>
Plugin return type without extension, which includes the plugin ID, name, and dependencies, but no extension.
This type is used to define a plugin at plugin function without extension.
Extends
Plugin<E>
Signature
ts
export interface PluginWithoutExtension<
E extends GunshiParams['extensions'] = DefaultGunshiParams['extensions']
> extends Plugin<E>Type Parameters
| Name | Description |
|---|---|
E extends GunshiParams['extensions'] = DefaultGunshiParams['extensions'] | A type extending GunshiParams to specify the shape of CommandContext's extensions. |
Properties
| Name | Type | Description |
|---|---|---|
dependencies (optional) | (PluginDependency | string)[] | Plugin dependencies |
id | string | Plugin identifier |
name | string | Plugin name |
