Skip to content
This repository was archived by the owner on Aug 16, 2024. It is now read-only.

Commit e46b706

Browse files
committed
修复: Group_t 对象 json解析不对称;
1 parent 3bac6dd commit e46b706

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/mirai/defs/group.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ namespace Cyan
2727
{
2828
json j = json::object();
2929
j["id"] = int64_t(GID);
30-
j["nickname"] = Name;
31-
j["remark"] = GroupPermissionStr(Permission);
30+
j["name"] = Name;
31+
j["permission"] = GroupPermissionStr(Permission);
3232
return j;
3333
}
3434
};

0 commit comments

Comments
 (0)