DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
crtp-based struct for exposing the connectToVoice functionality of the guild-related classes. More...
#include <FoundationEntities.hpp>
Public Member Functions | |
voice_connection & | connectToVoice (const snowflake guildMemberId, const snowflake channelId=0, bool selfDeaf=false, bool selfMute=false, stream_info streamInfoNew=stream_info{}) |
For connecting to an individual voice channel. More... | |
|
inline |
guildMemberId | an id of the guild member who's current voice channel to connect to. |
channelId | an id of the voice channel to connect to. |
selfDeaf | whether or not to self-deafen the bot. |
selfMute | whether or not to self-mute the bot. |
streamInfoNew | for usage with the vc-to-vc audio streaming option. |
Definition at line 2397 of file FoundationEntities.hpp.