summaryrefslogtreecommitdiff
path: root/src/discord/store.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/discord/store.hpp')
-rw-r--r--src/discord/store.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/discord/store.hpp b/src/discord/store.hpp
index 4320807..a1e5f81 100644
--- a/src/discord/store.hpp
+++ b/src/discord/store.hpp
@@ -44,6 +44,8 @@ public:
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;
+ std::unordered_set<Snowflake> GetMembersInGuild(Snowflake guild_id) const;
+ // ^ not the same as GetUsersInGuild since users in a guild may include users who do not have retrieved member data
void AddReaction(const MessageReactionAddObject &data, bool byself);
void RemoveReaction(const MessageReactionRemoveObject &data, bool byself);
@@ -302,5 +304,6 @@ private:
STMT(sub_reaction);
STMT(get_reactions);
STMT(get_chan_ids_parent);
+ STMT(get_guild_member_ids);
#undef STMT
};