![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
discord_core_api::co_routine<void>, that takes an argument of a type that derives its name from the type of event that is being listened for, where the argument is of type discord_core_api::eventname+data. for example, the argument for the discord_core_api::event_manager::onGuildCreation event is discord_core_api::on_guild_creation_data.discord_core_api::discord_core_client::eventManager, where you pass into the function found here, a pointer to your own created function.