Interface: ApplicationCommandBase
Properties
default_member_permissions
• Optional
default_member_permissions: ("CREATE_INSTANT_INVITE"
| "KICK_MEMBERS"
| "BAN_MEMBERS"
| "ADMINISTRATOR"
| "MANAGE_CHANNELS"
| "MANAGE_GUILDS"
| "ADD_REACTIONS"
| "VIEW_AUDIT_LOG"
| "PRIORITY_SPEAKER"
| "STREAM"
| "VIEW_CHANNEL"
| "SEND_MESSAGES"
| "SEND_TTS_MESSAGES"
| "MANAGE_MESSAGES"
| "EMBED_LINKS"
| "ATTACH_FILES"
| "READ_MESSAGE_HISTORY"
| "MENTION_EVERYONE"
| "USE_EXTERNAL_EMOJIS"
| "VIEW_GUILD_INSIGHTS"
| "CONNECT"
| "SPEAK"
| "MUTE_MEMBERS"
| "DEAFEN_MEMBERS"
| "MOVE_MEMBERS"
| "USE_VAD"
| "CHANGE_NICKNAME"
| "MANAGE_NICKNAMES"
| "MANAGE_ROLES"
| "MANAGE_WEBHOOKS"
| "MANAGE_EMOJIS"
| "USE_SLASH_COMMANDS"
| "REQUEST_TO_SPEAK"
| "MANAGE_THREADS"
| "USE_PUBLIC_THREADS"
| "USE_PRIVATE_THREADS"
)[] | Permissions
[]
Default permissions for the user to have if they want to use this command
Defined in
packages/libcord/src/structures/ApplicationCommand.ts:34
default_permission
• Optional
default_permission: boolean
if the command are enable when the app is add to a guild
Deprecated
Defined in
packages/libcord/src/structures/ApplicationCommand.ts:39
description
• Optional
description: string
the description of the command
Defined in
packages/libcord/src/structures/ApplicationCommand.ts:22
name
• name: string
the name of the command
Defined in
packages/libcord/src/structures/ApplicationCommand.ts:18
options
• Optional
options: (ApplicationCommandOption
| ApplicationCommandOptionWithSubCommand
)[]
the options of the command
Defined in
packages/libcord/src/structures/ApplicationCommand.ts:28
type
• Optional
type: ApplicationCommandType