diff --git a/src/lib/api/commands/index.ts b/src/lib/api/commands/index.ts index 46832d4..f4760ff 100644 --- a/src/lib/api/commands/index.ts +++ b/src/lib/api/commands/index.ts @@ -54,7 +54,9 @@ export function registerCommand(command: BunnyApplicationCommand): () => void { command.type ??= ApplicationCommandType.CHAT; command.inputType = ApplicationCommandInputType.BUILT_IN; command.displayName ??= command.name; + command.untranslatedName ??= command.name; command.displayDescription ??= command.description; + command.untranslatedDescription ??= command.description; if (command.options) for (const opt of command.options) { opt.displayName ??= opt.name; diff --git a/src/lib/api/commands/types.ts b/src/lib/api/commands/types.ts index c50fbf3..c971499 100644 --- a/src/lib/api/commands/types.ts +++ b/src/lib/api/commands/types.ts @@ -15,6 +15,8 @@ export interface ApplicationCommand { applicationId?: string; displayName?: string; displayDescription?: string; + untranslatedDescription?: string; + untranslatedName?: string; inputType?: ApplicationCommandInputType; type?: ApplicationCommandType; __bunny?: {