handle merged_members in ready object

this way you dont have to load a channel to make the client aware of your permissions
This commit is contained in:
ouwou
2021-01-23 18:23:14 -05:00
parent 04734e7e55
commit fd72d91cee
5 changed files with 16 additions and 0 deletions

View File

@@ -170,6 +170,7 @@ struct ReadyEventData {
std::optional<std::string> AnalyticsToken;
std::optional<int> FriendSuggestionCount;
UserSettings Settings;
std::optional<std::vector<std::vector<GuildMember>>> MergedMembers;
// std::vector<Unknown> ConnectedAccounts; // opt
// std::map<std::string, Unknown> Consents; // opt
// std::vector<Unknown> Experiments; // opt