Skip to main content

SleepyDiscord::VoiceContext

Public Functions Documentation​

function getChannelID​

inline Snowflake< Channel > getChannelID()

function getServerID​

inline Snowflake< Server > getServerID()

function operator==​

inline bool operator==(
const VoiceContext & right
)

function setVoiceHandler​

inline void setVoiceHandler(
BaseVoiceEventHandler * source
)

function hasVoiceHandler​

inline bool hasVoiceHandler()

function getVoiceHandler​

inline BaseVoiceEventHandler & getVoiceHandler()

function startVoiceHandler​

template <class EventHandler ,
class... Types>
inline void startVoiceHandler(
Types &&... arguments
)

Public Attributes Documentation​

variable VoiceConnection​

friend VoiceConnection;

variable BaseDiscordClient​

friend BaseDiscordClient;

Updated on 13 April 2022 at 18:39:59 UTC