diff options
Diffstat (limited to 'discord/store.hpp')
-rw-r--r-- | discord/store.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/store.hpp b/discord/store.hpp index 1e0b4c7..7e7d6ea 100644 --- a/discord/store.hpp +++ b/discord/store.hpp @@ -43,6 +43,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; void ClearGuild(Snowflake id); void ClearChannel(Snowflake id); @@ -133,6 +134,7 @@ private: mutable sqlite3_stmt *m_set_msg_interaction_stmt; mutable sqlite3_stmt *m_get_last_msgs_stmt; mutable sqlite3_stmt *m_get_msg_ids_stmt; + mutable sqlite3_stmt *m_get_pins_stmt; }; template<typename T> |