Package-level declarations
Types
Link copied to clipboard
Sets the desired channel types for this parameter.
Link copied to clipboard
Sets the minimum and maximum values on the specified @SlashOption.
Link copied to clipboard
annotation class JDASlashCommand(val name: String, val group: String = "", val subcommand: String = "", val description: String = "")
Declares this function as a slash command, additional properties can be set with @TopLevelSlashCommandData and @SlashCommandGroupData.
Link copied to clipboard
Sets the minimum and maximum string length on the specified @SlashOption.
Link copied to clipboard
Sets the minimum and maximum values on the specified @SlashOption.
Link copied to clipboard
Marks the slash command option as a list of mentionable retrieved from a string.
Link copied to clipboard
Additional annotation for slash command groups.
Link copied to clipboard
annotation class SlashOption(val name: String = "", val description: String = "", val usePredefinedChoices: Boolean = false, val autocomplete: String = "")
Sets a parameter as a slash command option from Discord.
Link copied to clipboard
annotation class TopLevelSlashCommandData(val scope: CommandScope = CommandScope.GLOBAL_NO_DM, val defaultLocked: Boolean = false, val nsfw: Boolean = false, val description: String = "")
Additional annotation for top-level slash commands.