summaryrefslogtreecommitdiff
path: root/discord/member.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/member.hpp')
-rw-r--r--discord/member.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/member.hpp b/discord/member.hpp
index 9518259..0a5e57d 100644
--- a/discord/member.hpp
+++ b/discord/member.hpp
@@ -6,8 +6,8 @@
#include <vector>
struct GuildMember {
- std::optional<User> User; // only reliable to access id. only opt in MESSAGE_*
- std::string Nickname; // null
+ std::optional<UserData> User; // only reliable to access id. only opt in MESSAGE_*
+ std::string Nickname; // null
std::vector<Snowflake> Roles;
std::string JoinedAt;
std::optional<std::string> PremiumSince; // null