mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 22:04:30 +00:00
fix: Discord acp inline actions + bound-thread filter (#33136) (thanks @thewilloftheshadow) (#33136)
This commit is contained in:
@@ -322,6 +322,7 @@ function buildChatCommands(): ChatCommandDefinition[] {
|
||||
name: "action",
|
||||
description: "Action to run",
|
||||
type: "string",
|
||||
preferAutocomplete: true,
|
||||
choices: [
|
||||
"spawn",
|
||||
"cancel",
|
||||
|
||||
@@ -31,6 +31,7 @@ export type CommandArgDefinition = {
|
||||
type: CommandArgType;
|
||||
required?: boolean;
|
||||
choices?: CommandArgChoice[] | CommandArgChoicesProvider;
|
||||
preferAutocomplete?: boolean;
|
||||
captureRemaining?: boolean;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user