![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
discord_core_api::application_commands::createGuildApplicationCommandAsync() function, while passing in a data structure of type discord_core_api::create_guild_application_command_data (important #1: notes on which kind of types to set can be found here.), with a return value of type auto or discord_core_api::application_command_data.discord_core_api::co_routine::get() added to the end in order to wait for the results now.