import { type CreateApplicationCommand } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.ts";
Properties
Name of command, 1-32 characters.
ApplicationCommandTypes.ChatInput
command names must match the following regex ^[-_\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$
with the unicode flag set.
If there is a lowercase variant of any letters used, you must use those.
Characters with no lowercase variants and/or uncased letters are still allowed.
ApplicationCommandTypes.Userand
ApplicationCommandTypes.Message` commands may be mixed case and can include spaces.
optional
nameLocalizations: LocalizationLocalization object for the name
field. Values follow the same restrictions as name
optional
descriptionLocalizations: LocalizationLocalization object for the description
field. Values follow the same restrictions as description
optional
type: ApplicationCommandTypesType of command, defaults ApplicationCommandTypes.ChatInput
if not set