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.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/discord/discord.hpp b/src/discord/discord.hpp
index b0fecab..9c6c748 100644
--- a/src/discord/discord.hpp
+++ b/src/discord/discord.hpp
@@ -186,6 +186,8 @@ public:
void DisconnectFromVoice();
[[nodiscard]] bool IsConnectedToVoice() 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;
void SetVoiceMuted(bool is_mute);
void SetVoiceDeafened(bool is_deaf);