mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-13 20:18:50 +03:00
19 lines
486 B
C++
19 lines
486 B
C++
#pragma once
|
|
#include "snowflake.hpp"
|
|
#include "json.hpp"
|
|
#include "user.hpp"
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
struct GuildMember {
|
|
User User; // opt
|
|
std::string Nickname; // null
|
|
std::vector<Snowflake> Roles; //
|
|
std::string JoinedAt; //
|
|
std::string PremiumSince; // opt, null
|
|
bool IsDeafened; //
|
|
bool IsMuted; //
|
|
|
|
friend void from_json(const nlohmann::json &j, GuildMember &m);
|
|
};
|