summaryrefslogtreecommitdiff
path: root/discord/guild.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/guild.hpp')
-rw-r--r--discord/guild.hpp39
1 files changed, 20 insertions, 19 deletions
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 <vector>
#include <string>
// 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<Role> Roles; //
- // std::vector<EmojiData> 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<Role> Roles; //
+ std::vector<Emoji> Emojis; //
std::vector<std::string> Features; //
int MFALevel; //
Snowflake ApplicationID; // null