1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-06 12:03:50 +08:00

Merge branch 'master' into dev

This commit is contained in:
Mrs4s 2020-11-23 14:17:46 +08:00
commit 4ad684061b

View File

@ -781,6 +781,7 @@ func (bot *CQBot) CQSetGroupPortrait(groupId int64, file, cache string) MSG {
return Failed(100)
}
// https://github.com/howmanybots/onebot/blob/master/v11/specs/api/public.md#get_status-%E8%8E%B7%E5%8F%96%E8%BF%90%E8%A1%8C%E7%8A%B6%E6%80%81
func (bot *CQBot) CQGetStatus() MSG {
return OK(MSG{
"app_initialized": true,
@ -788,7 +789,7 @@ func (bot *CQBot) CQGetStatus() MSG {
"plugins_good": nil,
"app_good": true,
"online": bot.Client.Online,
"good": true,
"good": bot.Client.Online,
"stat": bot.Client.GetStatistics(),
})
}