summaryrefslogtreecommitdiff
path: root/src/discord/discord.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/discord/discord.hpp')
-rw-r--r--src/discord/discord.hpp4
1 files changed, 3 insertions, 1 deletions
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<Snowflake> GetUsersInVoiceChannel(Snowflake channel_id);
[[nodiscard]] std::optional<uint32_t> GetSSRCOfUser(Snowflake id) const;