From 4740965f4c1ee879a733b4068f4026a0dfa626fd Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 3 Jan 2023 19:01:33 -0500 Subject: rewrite DiscordVoiceClient and stuff --- src/discord/discord.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/discord/discord.hpp') diff --git a/src/discord/discord.hpp b/src/discord/discord.hpp index 2d8db91..1e500e9 100644 --- a/src/discord/discord.hpp +++ b/src/discord/discord.hpp @@ -183,7 +183,9 @@ public: #ifdef WITH_VOICE void ConnectToVoice(Snowflake channel_id); void DisconnectFromVoice(); - [[nodiscard]] bool IsConnectedToVoice() const noexcept; + // Is fully connected + [[nodiscard]] bool IsVoiceConnected() const noexcept; + [[nodiscard]] bool IsVoiceConnecting() const noexcept; [[nodiscard]] Snowflake GetVoiceChannelID() const noexcept; [[nodiscard]] std::unordered_set GetUsersInVoiceChannel(Snowflake channel_id); [[nodiscard]] std::optional GetSSRCOfUser(Snowflake id) const; -- cgit v1.2.3