From 40897ece3ced8bfc051708a8d85f413f330631a9 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Wed, 4 Aug 2021 21:30:24 -0400 Subject: basic window to view threads --- discord/store.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'discord/store.hpp') diff --git a/discord/store.hpp b/discord/store.hpp index 7e7d6ea..76c8a8e 100644 --- a/discord/store.hpp +++ b/discord/store.hpp @@ -44,6 +44,7 @@ public: std::vector GetLastMessages(Snowflake id, size_t num) const; std::vector GetChannelMessageIDs(Snowflake id) const; std::vector GetPinnedMessages(Snowflake channel_id) const; + std::vector GetThreads(Snowflake channel_id) const; // public void ClearGuild(Snowflake id); void ClearChannel(Snowflake id); @@ -135,6 +136,7 @@ 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; }; template -- cgit v1.2.3