diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-02-01 22:39:59 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-02-01 22:39:59 -0500 |
commit | ff812842e3f6943c248e57d464d4085b51abf343 (patch) | |
tree | 226e97aead191c4ebb7a72d8b475cff7763f7363 /src/discord/discord.hpp | |
parent | ff47134dc64ac2f0fa7bfee64313b2522709b9b9 (diff) | |
parent | b4d3fc44c5cc24dcbe4f6fdc0ffe73acdb95cda9 (diff) | |
download | abaddon-portaudio-ff812842e3f6943c248e57d464d4085b51abf343.tar.gz abaddon-portaudio-ff812842e3f6943c248e57d464d4085b51abf343.zip |
Merge branch 'folders'
Diffstat (limited to 'src/discord/discord.hpp')
-rw-r--r-- | src/discord/discord.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/discord/discord.hpp b/src/discord/discord.hpp index c2bea7d..6f90659 100644 --- a/src/discord/discord.hpp +++ b/src/discord/discord.hpp @@ -60,6 +60,7 @@ public: std::vector<Message> GetMessagesForChannel(Snowflake id, size_t limit = 50) const; std::vector<Message> GetMessagesBefore(Snowflake channel_id, Snowflake message_id, size_t limit = 50) const; std::set<Snowflake> GetPrivateChannels() const; + const UserSettings &GetUserSettings() const; EPremiumType GetSelfPremiumType() const; @@ -211,6 +212,8 @@ public: void UpdateToken(const std::string &token); void SetUserAgent(const std::string &agent); + void SetDumpReady(bool dump); + bool IsChannelMuted(Snowflake id) const noexcept; bool IsGuildMuted(Snowflake id) const noexcept; int GetUnreadStateForChannel(Snowflake id) const noexcept; @@ -229,6 +232,8 @@ private: std::vector<uint8_t> m_decompress_buf; z_stream m_zstream; + bool m_dump_ready = false; + static std::string GetAPIURL(); static std::string GetGatewayURL(); |