DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
discord_core_api::roles::getCachedRole()
(which collects it from the cache), or discord_core_api::roles::getRoleAsync()
(which collects it from the discord servers) function, while passing in a value of type discord_core_api::get_role_data
.discord_core_api::co_routine::get()
added to the end in order to wait for the results now.