gunshi / default / CommandContextExtension
Interface: CommandContextExtension<E>
Command context extension
Since
v0.27.0
Type Parameters
Type Parameter | Default type |
---|---|
E extends GunshiParams ["extensions" ] | DefaultGunshiParams ["extensions" ] |
Properties
Property | Modifier | Type | Description |
---|---|---|---|
factory | readonly | (ctx , cmd ) => Awaitable <E > | Plugin extension factory |
key | readonly | symbol | Plugin identifier |
onFactory? | readonly | (ctx , cmd ) => Awaitable <void > | Plugin extension factory after hook |