2.15.0-M1
#2585
Replies: 1 comment 10 replies
-
请问这个怎么用? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
mirai-core
不兼容变更
新特性
新的登录方法通过
BotAuthorization
&BotFactory.newBot(id: Long, authorization: BotAuthorization)
登录关于详细的使用方法请参考
BotAuthorization
的注释扫码登录的实现不一定稳定 (因为涉及修改了大量内部登录和维护在线逻辑), 文档也还在正在准备中.
在 2.15.0-RC 可能会修改扫码登录的 API.
优化和修复
no login
(群公告发送失败 no login #2069, fix: announcements cookie #2512 by @cssxsh)Announcements.get(fid)
出现kotlinx.serialization.MissingFieldException: Field 'msg'
(使用 Announcements.get(fid) 出现 kotlinx.serialization.MissingFieldException: Field 'msg' #2509, fix: announcements cookie #2512 by @cssxsh)OfflineMessageSource
回复时, 引用回复的 At 变空白的问题 (OfflineMessageSource 回复错误 #2501)mirai-core-mock
mirai-console
新特性
getResource
方法获取全局资源文件 (修复JvmPlugin无法通过自己的classLoader以getResource的方法获取全局依赖的class文件 #2536 by @ArgonarioD)StartupEvent
,AutoLoginEvent
(add: console event impl #2446 by @cssxsh)优化和修复
This discussion was created from the release 2.15.0-M1.
Beta Was this translation helpful? Give feedback.
All reactions