mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-04 19:17:37 +08:00
api: temporary delete get_guild_members api
This commit is contained in:
parent
44e0ff44fb
commit
7278f99ed9
@ -128,6 +128,7 @@ func (bot *CQBot) CQGetGuildChannelList(guildID uint64, noCache bool) global.MSG
|
||||
return OK(channels)
|
||||
}
|
||||
|
||||
/*
|
||||
// CQGetGuildMembers 获取频道成员列表
|
||||
// @route(get_guild_members)
|
||||
func (bot *CQBot) CQGetGuildMembers(guildID uint64) global.MSG {
|
||||
@ -137,6 +138,7 @@ func (bot *CQBot) CQGetGuildMembers(guildID uint64) global.MSG {
|
||||
}
|
||||
return OK(nil) // todo
|
||||
}
|
||||
*/
|
||||
|
||||
// CQGetGuildRoles 获取频道角色列表
|
||||
// @route(get_guild_roles)
|
||||
|
@ -140,9 +140,6 @@ func (c *Caller) call(action string, p Getter) global.MSG {
|
||||
return c.bot.CQGetGuildChannelList(p0, p1)
|
||||
case "get_guild_list":
|
||||
return c.bot.CQGetGuildList()
|
||||
case "get_guild_members":
|
||||
p0 := p.Get("guild_id").Uint()
|
||||
return c.bot.CQGetGuildMembers(p0)
|
||||
case "get_guild_meta_by_guest":
|
||||
p0 := p.Get("guild_id").Uint()
|
||||
return c.bot.CQGetGuildMetaByGuest(p0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user