From 462f801af20562f151cd7ad7fa70aa65695b3e22 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Fri, 15 Jan 2021 06:37:35 +0000 Subject: Guild settings 1 (#19) * start guild settings window, tweak style --- discord/objects.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'discord/objects.hpp') diff --git a/discord/objects.hpp b/discord/objects.hpp index 9c5e648..89770a5 100644 --- a/discord/objects.hpp +++ b/discord/objects.hpp @@ -345,3 +345,11 @@ struct TypingStartObject { friend void from_json(const nlohmann::json &j, TypingStartObject &m); }; + +// implement rest as needed +struct ModifyGuildObject { + std::optional Name; + std::optional IconData; + + friend void to_json(nlohmann::json &j, const ModifyGuildObject &m); +}; -- cgit v1.2.3