feat: auto-execute on slash command completion functions (#14584)

This commit is contained in:
Jack Wotherspoon
2025-12-08 16:32:39 -05:00
committed by GitHub
parent 17b5b40765
commit 89570aef06
9 changed files with 197 additions and 8 deletions

View File

@@ -228,6 +228,7 @@ const enableCommand: SlashCommand = {
name: 'enable',
description: 'Enable a hook by name',
kind: CommandKind.BUILT_IN,
autoExecute: true,
action: enableAction,
completion: completeHookNames,
};
@@ -236,6 +237,7 @@ const disableCommand: SlashCommand = {
name: 'disable',
description: 'Disable a hook by name',
kind: CommandKind.BUILT_IN,
autoExecute: true,
action: disableAction,
completion: completeHookNames,
};