mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-19 20:11:59 +03:00
fix presence in identify and update build number
This commit is contained in:
@@ -85,11 +85,7 @@ void to_json(nlohmann::json &j, const LazyLoadRequestMessage &m) {
|
||||
|
||||
void to_json(nlohmann::json &j, const UpdateStatusMessage &m) {
|
||||
j["op"] = GatewayOp::UpdateStatus;
|
||||
j["d"] = nlohmann::json::object();
|
||||
j["d"]["activities"] = m.Activities;
|
||||
j["d"]["status"] = m.Status;
|
||||
j["d"]["afk"] = m.IsAFK;
|
||||
j["d"]["since"] = nullptr;
|
||||
j["d"] = m.Presence;
|
||||
}
|
||||
|
||||
void from_json(const nlohmann::json &j, ReadyEventData &m) {
|
||||
|
||||
Reference in New Issue
Block a user