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

Commit 264f80e

Browse files
committed
修改: 移除GetRequiredApiVersionInt方法;
1 parent 7aef1e7 commit 264f80e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

include/mirai/mirai_bot.hpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,6 @@ namespace Cyan
6464
MiraiBot& operator=(const MiraiBot&) = delete;
6565
~MiraiBot();
6666

67-
/**
68-
* \brief 获得 mirai-cpp 适配的 API 版本
69-
* \return 用数字表示的版本号 (10605)
70-
*/
71-
int GetRequiredApiVersionInt() const
72-
{
73-
// mirai-api-http v1.6.5
74-
return 10804;
75-
}
76-
7767
/**
7868
* \brief 获得 mirai-cpp 适配的 API 版本
7969
* \return 用字符串表示的版本号(1.6.5)

0 commit comments

Comments
 (0)