Auto-reply: drop native command flag

This commit is contained in:
Luke K (pr-0f3t)
2026-01-09 04:14:22 -05:00
parent aa64abe84c
commit 5f4df5e336
2 changed files with 2 additions and 6 deletions

View File

@@ -6,7 +6,6 @@ export type ChatCommandDefinition = {
description: string;
textAliases: string[];
acceptsArgs?: boolean;
supportsNative?: boolean;
};
export type NativeCommandSpec = {
@@ -141,9 +140,7 @@ export function listChatCommands(): ChatCommandDefinition[] {
}
export function listNativeCommandSpecs(): NativeCommandSpec[] {
return CHAT_COMMANDS.filter(
(command) => command.supportsNative !== false,
).map((command) => ({
return CHAT_COMMANDS.map((command) => ({
name: command.nativeName,
description: command.description,
acceptsArgs: Boolean(command.acceptsArgs),

View File

@@ -375,8 +375,7 @@ export function buildCommandsMessage(): string {
const aliasLabel = aliases.length
? ` (aliases: ${aliases.join(", ")})`
: "";
const scopeLabel = command.supportsNative === false ? " (text-only)" : "";
lines.push(`${primary}${aliasLabel}${scopeLabel} - ${command.description}`);
lines.push(`${primary}${aliasLabel} - ${command.description}`);
}
return lines.join("\n");
}