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 56191df..f3256f4 100644
--- a/discord/objects.hpp
+++ b/discord/objects.hpp
@@ -19,6 +19,7 @@
#include "ban.hpp"
#include "auditlog.hpp"
#include "relationship.hpp"
+#include "errors.hpp"
// most stuff below should just be objects that get processed and thrown away immediately
@@ -645,3 +646,10 @@ struct RelationshipAddData {
friend void from_json(const nlohmann::json &j, RelationshipAddData &m);
};
+
+struct FriendRequestObject {
+ std::string Username;
+ int Discriminator;
+
+ friend void to_json(nlohmann::json &j, const FriendRequestObject &m);
+};