DiscordApplicationCommand
data class DiscordApplicationCommand(val id: Snowflake, val type: Optional<ApplicationCommandType> = Optional.Missing(), val applicationId: Snowflake, val name: String, val nameLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), val description: String?, val descriptionLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), val guildId: OptionalSnowflake = OptionalSnowflake.Missing, val options: Optional<List<ApplicationCommandOption>> = Optional.Missing(), val defaultMemberPermissions: Permissions?, val dmPermission: OptionalBoolean = OptionalBoolean.Missing, val defaultPermission: OptionalBoolean? = OptionalBoolean.Missing, val nsfw: OptionalBoolean = OptionalBoolean.Missing, val version: Snowflake)(source)
Constructors
Link copied to clipboard
constructor(id: Snowflake, type: Optional<ApplicationCommandType> = Optional.Missing(), applicationId: Snowflake, name: String, nameLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), description: String?, descriptionLocalizations: Optional<Map<Locale, String>?> = Optional.Missing(), guildId: OptionalSnowflake = OptionalSnowflake.Missing, options: Optional<List<ApplicationCommandOption>> = Optional.Missing(), defaultMemberPermissions: Permissions?, dmPermission: OptionalBoolean = OptionalBoolean.Missing, defaultPermission: OptionalBoolean? = OptionalBoolean.Missing, nsfw: OptionalBoolean = OptionalBoolean.Missing, version: Snowflake)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Don't trust the docs: This is nullable on non chat input commands.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard