DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
discord_core_api::discord_core_client*
, with a return type of void
.jsonifier::vector<discord_core_api::repeated_function_data>
.discord_core_api::repeated_function_data
, and fill out its members, and stuff it inside the vector. be sure to set discord_core_api::repeated
to true if you would like the function call to be recurring.discord_core_api::discord_core_client_config
structure as an argument to the discord_core_api::discord_core_client
constructor - now the functions it contains will run on a schedule defined by the discord_core_api::intervalInMs
member of the data structure.