Skip to content

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 ​

Signature ​

ts
export interface PluginWithoutExtension<
  E extends GunshiParams['extensions'] = DefaultGunshiParams['extensions']
> extends Plugin<E>

Type Parameters ​

NameDescription
E extends GunshiParams['extensions'] = DefaultGunshiParams['extensions']A type extending GunshiParams to specify the shape of CommandContext's extensions.

Properties ​

NameTypeDescription
dependencies (optional)(PluginDependency | string)[]Plugin dependencies
idstringPlugin identifier
namestringPlugin name

Released under the MIT License.