mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-19 20:11:59 +03:00
rename and reorder a bunch of discord stuff
This commit is contained in:
11
discord/member.cpp
Normal file
11
discord/member.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "member.hpp"
|
||||
|
||||
void from_json(const nlohmann::json &j, GuildMember &m) {
|
||||
JS_O("user", m.User);
|
||||
JS_ON("nick", m.Nickname);
|
||||
JS_D("roles", m.Roles);
|
||||
JS_D("joined_at", m.JoinedAt);
|
||||
JS_ON("premium_since", m.PremiumSince);
|
||||
JS_D("deaf", m.IsDeafened);
|
||||
JS_D("mute", m.IsMuted);
|
||||
}
|
||||
Reference in New Issue
Block a user