summaryrefslogtreecommitdiff
path: root/src/discord/store.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-01-08 20:11:52 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2022-01-08 20:11:52 -0500
commitf31d431517b27a88a95f6972de8fcf3206df1da1 (patch)
tree772ee0241f8f79c510aa158e0d5f1a04302214c9 /src/discord/store.hpp
parentf19dcc01145edd2e69a8cccbc59258b6b73bd704 (diff)
parent604f2ffe3dc8978aebd6aa819b73374aa32d2f0e (diff)
downloadabaddon-portaudio-f31d431517b27a88a95f6972de8fcf3206df1da1.tar.gz
abaddon-portaudio-f31d431517b27a88a95f6972de8fcf3206df1da1.zip
Merge branch 'unread' into msys
Diffstat (limited to 'src/discord/store.hpp')
-rw-r--r--src/discord/store.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/discord/store.hpp b/src/discord/store.hpp
index 715f280..4320807 100644
--- a/src/discord/store.hpp
+++ b/src/discord/store.hpp
@@ -43,6 +43,7 @@ public:
std::vector<Message> GetMessagesBefore(Snowflake channel_id, Snowflake message_id, size_t limit) const;
std::vector<Message> GetPinnedMessages(Snowflake channel_id) const;
std::vector<ChannelData> GetActiveThreads(Snowflake channel_id) const; // public
+ std::vector<Snowflake> GetChannelIDsWithParentID(Snowflake channel_id) const;
void AddReaction(const MessageReactionAddObject &data, bool byself);
void RemoveReaction(const MessageReactionRemoveObject &data, bool byself);
@@ -300,5 +301,6 @@ private:
STMT(add_reaction);
STMT(sub_reaction);
STMT(get_reactions);
+ STMT(get_chan_ids_parent);
#undef STMT
};