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

Repair: 获取群信息却返回了群列表

This commit is contained in:
xiangxiangxiong9 2021-03-01 10:57:34 +08:00 committed by GitHub
parent 80517e25ad
commit d2fb26da10
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 {