mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-06 20:15:19 +03:00
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:
@@ -98,6 +98,7 @@ void from_json(const nlohmann::json &j, ReadyEventData &m) {
|
||||
JS_D("user_settings", m.Settings);
|
||||
JS_D("private_channels", m.PrivateChannels);
|
||||
JS_O("users", m.Users);
|
||||
JS_ON("merged_members", m.MergedMembers);
|
||||
}
|
||||
|
||||
void to_json(nlohmann::json &j, const IdentifyProperties &m) {
|
||||
|
||||
Reference in New Issue
Block a user