Skip to content

Commit

Permalink
fix(core): set default command desc to ''
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Jan 29, 2021
1 parent f9e37ad commit 2b05b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/koishi-core/src/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class Command<U extends User.Field = never, G extends Group.Field = never

_action?: CommandAction<U, G, O>

static defaultConfig: CommandConfig = {}
static defaultConfig: CommandConfig = { description: '' }
static defaultOptionConfig: OptionConfig = {}

private static _userFields: FieldCollector<'user'>[] = []
Expand Down

0 comments on commit 2b05b58

Please sign in to comment.