summaryrefslogtreecommitdiff
path: root/discord/objects.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/objects.hpp')
-rw-r--r--discord/objects.hpp8
1 files changed, 8 insertions, 0 deletions
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<std::string> Name;
+ std::optional<std::string> IconData;
+
+ friend void to_json(nlohmann::json &j, const ModifyGuildObject &m);
+};