import { type APIApplicationCommand } from "https://deno.land/x/discord_api_types@0.37.30/v10.ts";
Properties
1-32 character name; CHAT_INPUT
command names must be all lowercase matching ^[-_\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$
optional
name_localizations: LocalizationMap | nullLocalization dictionary for the name field. Values follow the same restrictions as name
optional
description_localizations: LocalizationMap | nullLocalization dictionary for the description field. Values follow the same restrictions as description
Indicates whether the command is available in DMs with the app, only for globally-scoped commands. By default, commands are visible