diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-04-15 20:28:11 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2024-04-15 20:28:11 -0400 |
commit | 870f05062a87444ee58436e8d12ba3702073eb8e (patch) | |
tree | 47eeecbf5056d06b0a09a8fbe9a01123737bd738 /src/discord/guild.cpp | |
parent | 02fd49b0736f74cc22dc3c9b16d904334d017dce (diff) | |
download | abaddon-portaudio-870f05062a87444ee58436e8d12ba3702073eb8e.tar.gz abaddon-portaudio-870f05062a87444ee58436e8d12ba3702073eb8e.zip |
store stage instances on connect
Diffstat (limited to 'src/discord/guild.cpp')
-rw-r--r-- | src/discord/guild.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/discord/guild.cpp b/src/discord/guild.cpp index 06c4acf..9cf94c2 100644 --- a/src/discord/guild.cpp +++ b/src/discord/guild.cpp @@ -54,6 +54,7 @@ void from_json(const nlohmann::json &j, GuildData &m) { JS_O("preferred_locale", m.PreferredLocale); JS_ON("public_updates_channel_id", m.PublicUpdatesChannelID); JS_O("max_video_channel_users", m.MaxVideoChannelUsers); + JS_ON("stage_instances", m.StageInstances); JS_O("approximate_member_count", tmp); if (tmp.has_value()) m.ApproximateMemberCount = std::stol(*tmp); |