summaryrefslogtreecommitdiff
path: root/src/discord/store.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-01-05 03:52:20 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2022-01-05 03:52:20 -0500
commit40106ddeb11a755864e446920b74739f1ec21c57 (patch)
treeaccbb08e769727e623fb53223d00e71b1c57482e /src/discord/store.hpp
parent8695562cb4b34c70d4d6b607042988de7b6e244d (diff)
downloadabaddon-portaudio-40106ddeb11a755864e446920b74739f1ec21c57.tar.gz
abaddon-portaudio-40106ddeb11a755864e446920b74739f1ec21c57.zip
handle mutable categories
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
};