![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
discord_core_api::input_events::respondToInputEventAsync() function, while passing in a data structure of type discord_core_api::respond_to_input_event_data with a type set to either discord_core_api::input_event_response_type::Deferred_Response, discord_core_api::input_event_response_type::Ephemeral_Deferred_Response, discord_core_api::input_event_response_type::Interaction_Response, discord_core_api::input_event_response_type::Follow_Up_Message, discord_core_api::input_event_response_type::Ephemeral_Interaction_Response, or discord_core_api::input_event_response_type::Ephemeral_Follow_Up_Message, with a return value of type auto or discord_core_api::input_event_data.