summaryrefslogtreecommitdiff
path: root/discord/objects.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-09-03 01:54:40 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2020-09-03 01:54:40 -0400
commit2fab0c3e0df870378055fe2f66f3b37f7d0929fc (patch)
tree0155f25329c2a68d50aa35b77edd5e0eb50c3462 /discord/objects.hpp
parent76cabbd37f6197200ca3e8ac34e1b69553857da9 (diff)
downloadabaddon-portaudio-2fab0c3e0df870378055fe2f66f3b37f7d0929fc.tar.gz
abaddon-portaudio-2fab0c3e0df870378055fe2f66f3b37f7d0929fc.zip
very primitive embeds
Diffstat (limited to 'discord/objects.hpp')
-rw-r--r--discord/objects.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/objects.hpp b/discord/objects.hpp
index e4b40b4..2a97c41 100644
--- a/discord/objects.hpp
+++ b/discord/objects.hpp
@@ -144,7 +144,7 @@ struct GuildData {
std::string Name; //
std::string Icon; // null
std::string Splash; // null
- std::string DiscoverySplash; // null
+ std::string DiscoverySplash; // opt, null (docs wrong)
bool IsOwner = false; // opt
Snowflake OwnerID; //
int Permissions = 0; // opt
@@ -293,7 +293,7 @@ struct EmbedVideoData {
struct EmbedProviderData {
std::string Name; // opt
- std::string URL; // opt
+ std::string URL; // opt, null (docs wrong)
friend void from_json(const nlohmann::json &j, EmbedProviderData &m);
};
@@ -321,7 +321,7 @@ struct EmbedData {
std::string Description; // opt
std::string URL; // opt
std::string Timestamp; // opt
- int Color = 0; // opt
+ int Color = -1; // opt
EmbedFooterData Footer; // opt
EmbedImageData Image; // opt
EmbedThumbnailData Thumbnail; // opt