summary refs log tree commit diff
path: root/src/schemas/api/bots/ApplicationCommandCreateSchema.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-11-29 22:22:41 +0100
committerRory& <root@rory.gay>2025-11-29 22:22:41 +0100
commit2ebe2a57fbbe177512b77b0ca6b8cca6aec858c6 (patch)
treef2f7fa54bb09d219d72b3f546aa6360801d47480 /src/schemas/api/bots/ApplicationCommandCreateSchema.ts
parentMerge pull request #1411 from MathMan05/status (diff)
downloadserver-ts-2ebe2a57fbbe177512b77b0ca6b8cca6aec858c6.tar.xz
Cut down schemas by 90%
Diffstat (limited to 'src/schemas/api/bots/ApplicationCommandCreateSchema.ts')
-rw-r--r--src/schemas/api/bots/ApplicationCommandCreateSchema.ts13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/schemas/api/bots/ApplicationCommandCreateSchema.ts b/src/schemas/api/bots/ApplicationCommandCreateSchema.ts

index a03b81cdf..3bb39d5ba 100644 --- a/src/schemas/api/bots/ApplicationCommandCreateSchema.ts +++ b/src/schemas/api/bots/ApplicationCommandCreateSchema.ts
@@ -1,11 +1,18 @@ -import { ApplicationCommandHandlerType, ApplicationCommandOption, ApplicationCommandType, ApplicationIntegrationType, InteractionContextType } from "@spacebar/schemas"; +import { + ApplicationCommandHandlerType, + ApplicationCommandOption, + ApplicationCommandType, + ApplicationIntegrationType, + InteractionContextType, + StringStringDictionary, +} from "@spacebar/schemas"; export interface ApplicationCommandCreateSchema { type?: ApplicationCommandType; name: string; - name_localizations?: Record<string, string>; + name_localizations?: StringStringDictionary; description?: string; - description_localizations?: Record<string, string>; + description_localizations?: StringStringDictionary; options?: ApplicationCommandOption[]; default_member_permissions?: string; /*