From 42252aa6aa1450f8d1b3b2b134eae8c96c58442f Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Mon, 18 Jan 2021 01:34:47 -0500 Subject: some better member/role update handling --- discord/member.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/member.hpp') diff --git a/discord/member.hpp b/discord/member.hpp index 087f2bf..8a9d609 100644 --- a/discord/member.hpp +++ b/discord/member.hpp @@ -17,6 +17,6 @@ struct GuildMember { std::vector GetSortedRoles() const; + void update_from_json(const nlohmann::json &j); friend void from_json(const nlohmann::json &j, GuildMember &m); - static GuildMember from_update_json(const nlohmann::json &j); }; -- cgit v1.2.3