DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
discord_core_api::guild_data
, and also collect the id of a voice channel to which you would like to connect. (this can be collected from the discord_core_api::voice_state_data_light
object, which can be collected from discord_core_api::guild_members::getVoiceStateData
)discord_core_api::guild_data::connectToVoice()
function from the discord_core_api::guild_data
object, while passing in the channel id of the channel to which you would like to connect.discord_core_api::guild_data::disconnect()
function on the discord_core_api::guild_data
object.