diff --git a/plugins/commands/src/index.ts b/plugins/commands/src/index.ts index 4217f3a6..06474bdf 100644 --- a/plugins/commands/src/index.ts +++ b/plugins/commands/src/index.ts @@ -323,6 +323,8 @@ export class CommandManager { if (!Object.keys(override).length) { delete this.config[command.name] } + + this.ctx.emit('command-updated', command) } this.ctx.scope.update(this.config, false) }