gunshi / default / PluginWithoutExtension
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
>
Type Parameters
Type Parameter | Default type |
---|---|
E extends GunshiParams ["extensions" ] | DefaultGunshiParams ["extensions" ] |
ts
PluginWithoutExtension(ctx): Awaitable<void>;
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.
Parameters
Parameter | Type |
---|---|
ctx | Readonly <PluginContext <G >> |
Returns
Awaitable
<void
>
Properties
Property | Type | Description | Overrides | Inherited from |
---|---|---|---|---|
dependencies? | (string | PluginDependency )[] | Plugin dependencies | Plugin.dependencies | - |
extension? | CommandContextExtension <E > | - | - | Plugin.extension |
id | string | Plugin identifier | Plugin.id | - |
name | string | Plugin name | Plugin.name | - |