1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

update doc.

This commit is contained in:
Mrs4s 2021-04-08 16:51:25 +08:00
parent af46324dd9
commit 4250199693
2 changed files with 31 additions and 3 deletions

View File

@ -15,6 +15,7 @@ account: # 账号相关
uin: 1233456 # QQ账号
password: '' # 密码为空时使用扫码登录
encrypt: false # 是否开启密码加密
status: 0 # 在线状态,详情请查看下方的在线状态表
relogin: # 重连设置
disabled: false
delay: 3 # 重连延迟, 单位秒
@ -138,6 +139,33 @@ database: # 数据库相关设置
> 注3关闭心跳服务可能引起断线请谨慎关闭
## 在线状态
| 状态 | 值 |
| -----|----|
| 在线 | 0 |
| 离开 | 1 |
| 隐身 | 2 |
| 忙 | 3 |
| 听歌中 | 4 |
| 星座运势 | 5 |
| 今日天气 | 6 |
| 遇见春天 | 7 |
| Timi中 | 8 |
| 吃鸡中 | 9 |
| 恋爱中 | 10 |
| 汪汪汪 | 11 |
| 干饭中 | 12 |
| 学习中 | 13 |
| 熬夜中 | 14 |
| 打球中 | 15 |
| 信号弱 | 16 |
| 在线学习 | 17 |
| 游戏中 | 18 |
| 度假中 | 19 |
| 追剧中 | 20 |
| 健身中 | 21 |
## 设备信息
默认生成的设备信息如下所示:

View File

@ -43,8 +43,8 @@ var (
h bool
// 允许通过配置文件设置的状态列表
allowStatus = [23]client.UserOnlineStatus{client.StatusOnline, client.StatusAway, client.StatusInvisible, client.StatusBusy,
client.StatusBattery, client.StatusListening, client.StatusConstellation, client.StatusWeather, client.StatusMeetSpring,
allowStatus = [22]client.UserOnlineStatus{client.StatusOnline, client.StatusAway, client.StatusInvisible, client.StatusBusy,
client.StatusListening, client.StatusConstellation, client.StatusWeather, client.StatusMeetSpring,
client.StatusTimi, client.StatusEatChicken, client.StatusLoving, client.StatusWangWang, client.StatusCookedRice,
client.StatusStudy, client.StatusStayUp, client.StatusPlayBall, client.StatusSignal, client.StatusStudyOnline,
client.StatusGaming, client.StatusVacationing, client.StatusWatchingTV, client.StatusFitness,