From 2798bf96d5ec788cf7ecbcb7fbc53198ce2e5569 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Wed, 7 Oct 2020 17:22:20 -0400 Subject: store emoji data --- discord/guild.hpp | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) (limited to 'discord/guild.hpp') diff --git a/discord/guild.hpp b/discord/guild.hpp index a618335..74ea851 100644 --- a/discord/guild.hpp +++ b/discord/guild.hpp @@ -3,31 +3,32 @@ #include "snowflake.hpp" #include "role.hpp" #include "channel.hpp" +#include "emoji.hpp" #include #include // a bot is apparently only supposed to receive the `id` and `unavailable` as false // but user tokens seem to get the full objects (minus users) struct Guild { - Snowflake ID; // - std::string Name; // - std::string Icon; // null - std::string Splash; // null - std::string DiscoverySplash; // opt, null (docs wrong) - bool IsOwner = false; // opt - Snowflake OwnerID; // - int Permissions = 0; // opt - std::string PermissionsNew; // opt - std::string VoiceRegion; // opt - Snowflake AFKChannelID; // null - int AFKTimeout; // - bool IsEmbedEnabled = false; // opt, deprecated - Snowflake EmbedChannelID; // opt, null, deprecated - int VerificationLevel; // - int DefaultMessageNotifications; // - int ExplicitContentFilter; // - std::vector Roles; // - // std::vector Emojis; // + Snowflake ID; // + std::string Name; // + std::string Icon; // null + std::string Splash; // null + std::string DiscoverySplash; // opt, null (docs wrong) + bool IsOwner = false; // opt + Snowflake OwnerID; // + int Permissions = 0; // opt + std::string PermissionsNew; // opt + std::string VoiceRegion; // opt + Snowflake AFKChannelID; // null + int AFKTimeout; // + bool IsEmbedEnabled = false; // opt, deprecated + Snowflake EmbedChannelID; // opt, null, deprecated + int VerificationLevel; // + int DefaultMessageNotifications; // + int ExplicitContentFilter; // + std::vector Roles; // + std::vector Emojis; // std::vector Features; // int MFALevel; // Snowflake ApplicationID; // null -- cgit v1.2.3