diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-11-01 00:01:48 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-11-01 00:01:48 -0400 |
commit | 79e4252ab390d2449757c972f248bc194be4134f (patch) | |
tree | dc21a05d669ca5990fa697cf272d9d526fdf0b3d /discord/guild.hpp | |
parent | 2d0c78d4fae6e7a2e596fe9db24a78a0f878bd48 (diff) | |
download | abaddon-portaudio-79e4252ab390d2449757c972f248bc194be4134f.tar.gz abaddon-portaudio-79e4252ab390d2449757c972f248bc194be4134f.zip |
handle GUILD_UPDATE
Diffstat (limited to 'discord/guild.hpp')
-rw-r--r-- | discord/guild.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |