![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
Data structure representing an application_command_data's option. More...
#include <FoundationEntities.hpp>
Public Data Members | |
bool | autocomplete {} |
If autocomplete interactions are enabled for this string, integer, or number type option. | |
jsonifier::vector< channel_type > | channelTypes {} |
Set when the application_command_data option type is set to channel_data. | |
jsonifier::vector< application_command_option_choice_data > | choices {} |
A vector of possible choices for the current application_command_data option. | |
jsonifier::string | description {} |
A description of the current application_command_data option. | |
unordered_map< jsonifier::string, jsonifier::string > | descriptionLocalizations {} |
Dictionary for the description localizations field. | |
int64_t | maxValue { std::numeric_limits<int64_t>::min() } |
If the option is an integer or number type, the maximum value permitted. | |
int64_t | minValue { std::numeric_limits<int64_t>::max() } |
If the option is an integer or number type, the minimum value permitted. | |
jsonifier::string | name {} |
Name of the current application_command_data option. | |
unordered_map< jsonifier::string, jsonifier::string > | nameLocalizations {} |
Dictionary for the name localizations field. | |
jsonifier::vector< application_command_option_data > | options {} |
A vector of possible options for the current application_command_data option. | |
bool | required {} |
If the parameter is required or optional– default false. | |
application_command_option_type | type {} |
The type of command option. | |