An auto complete interaction. More...
#include "appcommand.h"


Public Member Functions | |
| std::string | get_mention () const |
| Return a ping/mention for the slash command. More... | |
| template<typename T > | |
| T & | get_value (size_t index) |
| Get an option value by index. 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... | |
| dpp::snowflake | target_id |
| Non-zero target ID for context menu actions (e.g. More... | |
| slashcommand_contextmenu_type | type |
| The type of command interaction. 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.
Referenced by dpp::interaction::get_context_message().
|
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.