From 79e4252ab390d2449757c972f248bc194be4134f Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sun, 1 Nov 2020 00:01:48 -0400 Subject: handle GUILD_UPDATE --- discord/guild.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'discord/guild.hpp') diff --git a/discord/guild.hpp b/discord/guild.hpp index e76c8c5..f0edf3f 100644 --- a/discord/guild.hpp +++ b/discord/guild.hpp @@ -65,6 +65,7 @@ struct Guild { // * - documentation says only sent in GUILD_CREATE, but these can be sent anyways in the READY event friend void from_json(const nlohmann::json &j, Guild &m); + void update_from_json(const nlohmann::json &j); bool HasIcon() const; std::string GetIconURL(std::string ext = "png", std::string size = "32") const; -- cgit v1.2.3