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

Commit 9ad3cdc

Browse files
committed
Remove 'Announcement' field from group_config
1 parent d63e9a1 commit 9ad3cdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/mirai/defs/group_config.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace Cyan
2121
/**
2222
* @brief 群公告
2323
*/
24-
string Announcement;
24+
// string Announcement;
2525

2626
/**
2727
* @brief 是否允许坦白说
@@ -46,7 +46,7 @@ namespace Cyan
4646
virtual bool Set(const json& j) override
4747
{
4848
Name = j["name"].get<string>();
49-
Announcement = j["announcement"].get<string>();
49+
// Announcement = j["announcement"].get<string>();
5050
ConfessTalk = j["confessTalk"].get<bool>();
5151
AllowMemberInvite = j["allowMemberInvite"].get<bool>();
5252
AutoApprove = j["autoApprove"].get<bool>();
@@ -58,7 +58,7 @@ namespace Cyan
5858
{
5959
json j = json::object();
6060
j["name"] = Name;
61-
j["announcement"] = Announcement;
61+
// j["announcement"] = Announcement;
6262
j["confessTalk"] = ConfessTalk;
6363
j["allowMemberInvite"] = AllowMemberInvite;
6464
j["autoApprove"] = AutoApprove;

0 commit comments

Comments
 (0)