@@ -800,13 +800,13 @@ namespace DiscordCoreAPI {
800800 public:
801801 friend class GuildData ;
802802
803- String unicodeEmoji{};// /< Emoji representing the Role.
804803 Permissions permissions{};// /< The Role's base Guild Permissions.
805- String name {};// /< The Role's name .
804+ String unicodeEmoji {};// /< Emoji representing the Role .
806805 Snowflake guildId{};// /< The id of the Guild that this Role is from.
807806 int16_t position{};// /< Its position amongst the rest of the Guild's roles.
808807 RoleFlags flags{};// /< Role flags.
809808 int32_t color{};// /< The Role's color.
809+ String name{};// /< The Role's name.
810810
811811 RoleData () noexcept = default ;
812812
@@ -917,9 +917,9 @@ namespace DiscordCoreAPI {
917917 Permissions permissions{};// /< Their base-level Permissions in the Guild.
918918 GuildMemberFlags flags{};// /< GuildMember flags.
919919 TimeStamp joinedAt{};// /< When they joined the Guild.
920- String nick{};// /< Their nick/display name.
921920 Snowflake guildId{};// /< The current Guild's id.
922921 UserIdBase user{};
922+ String nick{};// /< Their nick/display name.
923923
924924 GuildMemberData () noexcept = default ;
925925
@@ -974,10 +974,10 @@ namespace DiscordCoreAPI {
974974 Permissions permissions{};// /< Their base-level Permissions in the Guild.
975975 GuildMemberFlags flags{};// /< GuildMember flags.
976976 TimeStamp joinedAt{};// /< When they joined the Guild.
977- String nick{};// /< Their nick/display name.
978977 Snowflake guildId{};// /< The current Guild's id.
979978 IconHash avatar{};// /< This GuildMember's Guild Avatar.
980979 UserData user{};
980+ String nick{};// /< Their nick/display name.
981981
982982 GuildMemberCacheData () noexcept = default ;
983983
@@ -1052,13 +1052,13 @@ namespace DiscordCoreAPI {
10521052 ChannelType type{ ChannelType::DM };// /< The type of the Channel.
10531053 SortOrderTypes defaultSortOrder{};// /< Default sorting order for a forum thread.
10541054 uint32_t memberCount{};// /< Count of members active in the Channel.
1055- String topic{};// /< Channel topic.
10561055 Snowflake parentId{};// /< Snowflake of the Channel's parent Channel/category.
1057- String name{};// /< Name of the Channel.
10581056 ChannelFlags flags{};// /< Flags combined as a bitmask.
10591057 uint16_t position{};// /< The position of the Channel, in the Guild's Channel list.
10601058 Snowflake ownerId{};// /< Snowflake of the Channel's owner.
10611059 Snowflake guildId{};// /< Snowflake of the Channel's Guild, if applicable.
1060+ String topic{};// /< Channel topic.
1061+ String name{};// /< Name of the Channel.
10621062
10631063 ChannelData () noexcept = default ;
10641064
@@ -1769,24 +1769,24 @@ namespace DiscordCoreAPI {
17691769 // / \brief Data structure representing a single Guild.
17701770 class DiscordCoreAPI_Dll GuildData : public DiscordEntity {
17711771 public:
1772- DiscordCoreClient* discordCoreClient{};// /< A pointer to the DiscordCoreClient.
1773- VoiceConnection* voiceConnection{};// /< A pointer to the VoiceConnection, if present.
1774- std::vector<PresenceUpdateData> presences{};// /< Presence states for each of the GuildMembers.
17751772 std::vector<Snowflake> guildScheduledEvents{};// /< Array of Guild channels.
1776- std::vector<Snowflake> voiceStates{};// /< Voice states for each of the guild members.
1777- std::vector<Snowflake> members{};// /< Array of GuildMembers.
1773+ std::vector<PresenceUpdateData> presences{};// /< Presence states for each of the GuildMembers.
17781774 std::vector<Snowflake> stageInstances{};// /< Array of Guild channels.
1775+ DiscordCoreClient* discordCoreClient{};// /< A pointer to the DiscordCoreClient.
1776+ std::vector<Snowflake> voiceStates{};// /< Voice states for each of the guild members.
1777+ VoiceConnection* voiceConnection{};// /< A pointer to the VoiceConnection, if present.
17791778 std::vector<Snowflake> stickers{};// /< Array of Guild channels.
17801779 std::vector<Snowflake> channels{};// /< Array of Guild channels.
1780+ std::vector<Snowflake> members{};// /< Array of GuildMembers.
17811781 std::vector<Snowflake> threads{};// /< Array of Guild channels.
17821782 std::vector<Snowflake> roles{};// /< Array of Guild roles.
17831783 std::vector<Snowflake> emoji{};// /< Array of Guild channels.
17841784 uint32_t memberCount{};// /< Member count.
17851785 TimeStamp joinedAt{};// /< When the bot joined this Guild.
1786- String name{};// /< The Guild's name.
17871786 Snowflake ownerId{};// /< User id of the Guild's owner.
17881787 GuildFlags flags{};// /< Guild flags.
17891788 IconHash icon{};// /< Url to the Guild's icon.
1789+ String name{};// /< The Guild's name.
17901790
17911791 GuildData () noexcept = default ;
17921792
0 commit comments