diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-03-26 02:58:59 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-03-26 02:58:59 -0400 |
commit | a0b3c9f8a4f8d2c39258d4c142f8604423576d91 (patch) | |
tree | 841155a65b439b61a5c58c1f64878152c20d4f51 /src/discord/store.hpp | |
parent | 481685b3bbb2b0270870dec5de87e60fc2d84d15 (diff) | |
parent | a2a45757e917aa97e71cf0b84a01dc843759a5f6 (diff) | |
download | abaddon-portaudio-a0b3c9f8a4f8d2c39258d4c142f8604423576d91.tar.gz abaddon-portaudio-a0b3c9f8a4f8d2c39258d4c142f8604423576d91.zip |
Merge branch 'master' into msys
Diffstat (limited to 'src/discord/store.hpp')
-rw-r--r-- | src/discord/store.hpp | 3 |
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 }; |