diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-09-13 01:44:43 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-09-13 01:44:43 -0400 |
commit | af85d5c89582176b75d43f3f92cce6aa55d19367 (patch) | |
tree | 44febc0f5dc026572fab9d7a9776bfc202c7b675 /discord/store.hpp | |
parent | b01234083001e5b1f5383d6cd4e909e6ca7e58cf (diff) | |
parent | 002004cb5f01d22601047433cc868359cf022842 (diff) | |
download | abaddon-portaudio-af85d5c89582176b75d43f3f92cce6aa55d19367.tar.gz abaddon-portaudio-af85d5c89582176b75d43f3f92cce6aa55d19367.zip |
Merge branch 'threads'
Diffstat (limited to 'discord/store.hpp')
-rw-r--r-- | discord/store.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/store.hpp b/discord/store.hpp index 7e7d6ea..f84d13e 100644 --- a/discord/store.hpp +++ b/discord/store.hpp @@ -44,6 +44,7 @@ public: std::vector<Message> GetLastMessages(Snowflake id, size_t num) const; std::vector<Snowflake> GetChannelMessageIDs(Snowflake id) const; std::vector<Message> GetPinnedMessages(Snowflake channel_id) const; + std::vector<ChannelData> GetActiveThreads(Snowflake channel_id) const; // public void ClearGuild(Snowflake id); void ClearChannel(Snowflake id); @@ -135,6 +136,8 @@ private: mutable sqlite3_stmt *m_get_last_msgs_stmt; mutable sqlite3_stmt *m_get_msg_ids_stmt; mutable sqlite3_stmt *m_get_pins_stmt; + mutable sqlite3_stmt *m_get_threads_stmt; + mutable sqlite3_stmt *m_clear_chan_stmt; }; template<typename T> |