Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
3037dd16
Commit
3037dd16
authored
Dec 05, 2019
by
Him188
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
1449263a
c5ca25e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
15 deletions
+27
-15
README.md
README.md
+4
-12
UpdateLog.md
UpdateLog.md
+23
-3
No files found.
README.md
View file @
3037dd16
...
...
@@ -3,16 +3,13 @@
[

](https://www.codacy.com/manual/Him188/mirai?utm_source=github.com
&
utm_medium=referral
&
utm_content=mamoe/mirai
&
utm_campaign=Badge_Grade)
**TIM PC 协议**
跨平台 QQ 协议支持库.
-
纯 Kotlin 实现
-
JVM 平台额外提供插件模式服务端
若您有任何意见或建议, 请告诉我们.
部分协议来自网络上开源项目
**一切开发旨在学习,请勿用于非法用途**
## Update log
在
[
Project
](
https://github.com/mamoe/mirai/projects/1
)
查看已支持功能和计划
在
[
UpdateLog
](
https://github.com/mamoe/mirai/blob/master/UpdateLog.md
)
查看版本更新记录
## Use as library
把 Mirai 作为库内置于您的项目中使用.
Mirai 只上传在 jcenter, 因此请确保添加
`jcenter()`
仓库
...
...
@@ -69,11 +66,6 @@ bot.subscribeAlways<MemberPermissionChangedEvent> {
我们欢迎一切形式的贡献. 若您有兴趣为 Mirai 实现 JS, iOS, Native 平台, 请联系我(
`Him188@mamoe.net`
).
若在使用过程中有任何疑问, 可提交 issue 或是邮件联系. 我们希望 Mirai 变得更易用.
## Update log
在
[
Project
](
https://github.com/mamoe/mirai/projects/1
)
查看已支持功能和计划
在
[
UpdateLog
](
https://github.com/mamoe/mirai/blob/master/UpdateLog.md
)
查看版本更新记录
## Requirements
#### Run-time
...
...
UpdateLog.md
View file @
3037dd16
# UpdateLog
## Ma
in
version 0
## Ma
jor
version 0
开发版本. 频繁更新, 不保证高稳定性
### 0.7.0
2019/12/04
协议
-
重新分析验证码包, 解决一些无法解析的情况. (这可能会产生新的问题, 遇到后请提交 issue)
-
重新分析提交密码包
-
*提交验证码仍可能出现问题, 预计本周末解决*
功能
-
XML 消息 DSL 构造支持 (实验性) (暂不支持发送)
-
群成员列表现在包含群主 (原本就应该包含)
-
在消息事件处理中添加获取
`.qq()`
和
`.group()`
的扩展函数.
-
现在处理群消息时 sender 为 Member (以前为 QQ)
-
修改
`Message.concat`
为
`Message.followedBy`
-
修改成员权限
`OPERATOR`
为
`ADMINISTRATOR`
-
**bot.subscribeAll<> 等函数的 handler lambda 的 receiver 由 Bot 改变为 BotSession**
; 此变动不会造成现有代码的修改, 但并不兼容旧版本编译的代码
性能优化
-
内联 ContactList
-
2 个 Contact.sendMessage 重载改为内联扩展函数
**(需要添加 import)**
-
其他小优化
### 0.6.1
2019/12/3
2019/12/
0
3
-
新增: 无法解析密码包/验证码包时的调试输出. 以兼容更多的设备情况
-
新增:
`MessagePacket`
下
`At.qq()`
捷径获取 QQ
...
...
@@ -14,4 +34,4 @@
-
新增: 禁言群成员 (
`Member.mute(TimeSpan|Duration|MonthsSpan|Int|UInt)`
)
-
新增: 解禁群成员 (
`Member.unmute()`
)
-
修复: ContactList key 无法匹配 (Kotlin 内联类型泛型投影错误)
\ No newline at end of file
-
修复: ContactList key 无法匹配 (Kotlin 内联类型泛型投影错误)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment