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

Merge pull request #685 from xiangxiangxiong9/dev

Repair: 获取群信息却返回了群列表
This commit is contained in:
Mrs4s 2021-03-01 15:59:55 +08:00 committed by GitHub
commit 49a6cfd50a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ func getGroupList(bot *coolq.CQBot, p resultGetter) coolq.MSG {
}
func getGroupInfo(bot *coolq.CQBot, p resultGetter) coolq.MSG {
return bot.CQGetGroupList(p.Get("no_cache").Bool())
return bot.CQGetGroupInfo(p.Get("group_id").Int(), p.Get("no_cache").Bool())
}
func getGroupMemberList(bot *coolq.CQBot, p resultGetter) coolq.MSG {