D++ (DPP)
C++ Discord API Bot Library
|
An auto complete interaction. More...
#include <appcommand.h>
Public Member Functions | |
template<typename T > | |
T & | get_value (size_t index) |
Get an option value by index. More... | |
std::string | get_mention () const |
Return a ping/mention for the slash command. More... | |
Public Attributes | |
snowflake | id |
The ID of the invoked command. More... | |
std::string | name |
The name of the invoked command. More... | |
std::vector< command_data_option > | options |
Optional: the params + values from the user. More... | |
slashcommand_contextmenu_type | type |
The type of command interaction. More... | |
dpp::snowflake | target_id |
Non-zero target ID for context menu actions (e.g. user id or message id whom clicked or tapped with the context menu). More... | |
An auto complete interaction.
|
inherited |
Return a ping/mention for the slash command.
</airhorn:816437322781949972>
|
inlineinherited |
Get an option value by index.
T | Type to get from the parameter |
index | index of the option |
|
inherited |
The ID of the invoked command.
|
inherited |
The name of the invoked command.
|
inherited |
Optional: the params + values from the user.
|
inherited |
Non-zero target ID for context menu actions (e.g. user id or message id whom clicked or tapped with the context menu).
|
inherited |
The type of command interaction.