forked from OpenGamers/abaddon
add role list to user menu
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include "snowflake.hpp"
|
||||
#include "json.hpp"
|
||||
#include "user.hpp"
|
||||
#include "role.hpp"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -14,6 +15,8 @@ struct GuildMember {
|
||||
bool IsDeafened;
|
||||
bool IsMuted;
|
||||
|
||||
std::vector<RoleData> GetSortedRoles() const;
|
||||
|
||||
friend void from_json(const nlohmann::json &j, GuildMember &m);
|
||||
static GuildMember from_update_json(const nlohmann::json &j);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user