DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
discord_core_api::guilds::getGuildBansAsync()
function, while passing in a value of type discord_core_api::get_guild_bans_data
, with a return value of type auto
or discord_core_api::vector<ban_data>
.discord_core_api::co_routine::get()
added to the end in order to wait for the results now.