Skip to content

Commit

Permalink
0.3.1 Close #110
Browse files Browse the repository at this point in the history
  • Loading branch information
yyuueexxiinngg committed Nov 22, 2020
1 parent 939d126 commit a3a22b2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## `0.3.1` *2020/xx/xx*
- 更新依赖`mirai-console``1.0.0`, [更新日志](https://github.com/mamoe/mirai-console/releases/tag/1.0.0), **现在聊天中`/help`命令不会与`console`内建命令冲突了**
## `0.3.1` *2020/11/22*
- 优化事件处理机制 #109
- 更新依赖`mirai-console``1.0.0`, [更新日志](https://github.com/mamoe/mirai-console/releases/tag/1.0.0), **现在聊天中`/help`命令不会与`console`内建命令冲突了** #110
- 新版`console`内置了简单修改日志打印等级的配置, 因此弃用自定义`Logger`
- `OneBot`配置项中`debug`项作废, 修改此项不会产生任何作用
- 开启Debug打印的配置请修改`console`本身的配置, 位于`config/Console/Logger.yml`
- 可将`defaultPriority: INFO`修改为`defaultPriority: DEBUG`或以上开启所有**mirai及所有插件**的Debug日志输出
- **或在`loggers`项下新增`OneBot: DEBUG`或以上单独开启本插件的Debug日志输出**


## `0.3.0` *2020/11/16*
- 项目更名:
Expand Down
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# OneBot Mirai - CQHTTP Mirai

![Gradle CI](https://github.com/yyuueexxiinngg/cqhttp-mirai/workflows/Gradle%20CI/badge.svg)
[![Gradle CI](https://github.com/yyuueexxiinngg/onebot-kotlin/workflows/Gradle%20CI/badge.svg)](https://github.com/yyuueexxiinngg/onebot-kotlin/actions)
[![Downloads](https://img.shields.io/github/downloads/yyuueexxiinngg/onebot-kotlin/total)](https://github.com/yyuueexxiinngg/onebot-kotlin/releases)
[![Release](https://img.shields.io/github/v/release/yyuueexxiinngg/onebot-kotlin?include_prereleases)](https://github.com/yyuueexxiinngg/onebot-kotlin/releases)
[![Downloads @latest](https://img.shields.io/github/downloads-pre/yyuueexxiinngg/onebot-kotlin/latest/total)](https://github.com/yyuueexxiinngg/onebot-kotlin/releases)

__[OneBot标准](https://github.com/howmanybots/onebot) mirai 插件版 *(原cqhttp-mirai)*__

Expand Down Expand Up @@ -31,14 +34,14 @@ __[OneBot标准](https://github.com/howmanybots/onebot) Kotlin实现 *(原cqhttp
- `--password *******` 要自动登录账号的密码
- `--args -- --xx`传入参数至`mirai-console`, 如`--args -- --help``--help`传入获取`mirai-console`提供的帮助信息

#### 读取的环境变量
### 读取的环境变量
- `onebot.account``--account`参数, 但优先级低, 会被参数覆盖
- `onebot.password``--password`参数, 但优先级低, 会被参数覆盖

###更新日志: [CHANGELOG](https://github.com/yyuueexxiinngg/onebot-kotlin/blob/master/CHANGELOG.md)

## 配置相关
```yaml
# Debug日志输出选项
debug: false
# 下载图片/语音时使用的Proxy, 配置后, 发送图片/语音时指定`proxy=1`以通过Proxy下载, 如[CQ:image,proxy=1,url=http://***]
# 支持HTTP及Sock两种Proxy, 设置举例 proxy: "http=http://127.0.0.1:8888", proxy : "sock=127.0.0.1:1088"
proxy: ''
Expand Down

0 comments on commit a3a22b2

Please sign in to comment.