This repository was archived by the owner on Aug 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ namespace Cyan
4848 */
4949 inline string GetMiraiCppVersion () const
5050 {
51- return " 2.2.0 " ;
51+ return " 2.3.1 " ;
5252 }
5353
5454 std::shared_ptr<httplib::Client> GetHttpClient ();
@@ -229,7 +229,7 @@ namespace Cyan
229229 * @param withDownloadInfo 获取下载信息(需要较长时间)
230230 * @return GroupFile
231231 */
232- GroupFile GetGroupFilById (const GID_t& gid, const string& groupFileId, bool withDownloadInfo = false );
232+ GroupFile GetGroupFileById (const GID_t& gid, const string& groupFileId, bool withDownloadInfo = false );
233233
234234 /* *
235235 * @brief 创建群文件夹
Original file line number Diff line number Diff line change @@ -692,7 +692,7 @@ namespace Cyan
692692 return result;
693693 }
694694
695- GroupFile MiraiBot::GetGroupFilById (const GID_t& gid, const string& groupFileId, bool withDownloadInfo)
695+ GroupFile MiraiBot::GetGroupFileById (const GID_t& gid, const string& groupFileId, bool withDownloadInfo)
696696 {
697697 stringstream api_url;
698698 api_url
You can’t perform that action at this time.
0 commit comments