func GetGuildBans(client httd.Getter, id Snowflake) (ret []*Ban, err error) {
	_, body, err := client.Get(&httd.Request{
		Ratelimiter: ratelimitGuildBans(id),
		Endpoint:    endpoint.GuildBans(id),
	})
	if err != nil {
		return
	}

	err = unmarshal(body, &ret)
	return
}
// GetGuildBans [GET]       Returns a list of ban objects for the users banned from this guild.
//                          Requires the 'BAN_MEMBERS' permission.
// Endpoint                 /guilds/{guild.id}/bans
// Rate limiter             /guilds/{guild.id}/bans
// Discord documentation    https://discordapp.com/developers/docs/resources/guild#get-guild-bans
// Reviewed                 2018-08-18
// Comment                  -
GetGuildBans [GET]       Returns a list of ban objects for the users banned from this guild.
Requires the 'BAN_MEMBERS' permission.
// GetGuildBans [ GET ] Returns a list of ban objects for the users banned from this guild . // Requires the ' BAN_MEMBERS ' permission . // Endpoint / guilds / { guild . id } / bans // Rate limiter / guilds / { guild . id } / bans // Discord documentation https : // discordapp . com / developers / docs / resources / guild#get - guild - bans // Reviewed 2018 - 08 - 18 // Comment -
func GetGuildBans(client httd.Getter, id Snowflake) (ret []*Ban, err error) {
	_, body, err := client.Get(&httd.Request{
		Ratelimiter: ratelimitGuildBans(id),
		Endpoint:    endpoint.GuildBans(id),
	})
	if err != nil {
		return
	}
	err = unmarshal(body, &ret)
	return
}
func GetGuildBans ( client httd . Getter , id Snowflake ) ( ret [ ] * Ban , err error ) { _ , body , err := client . Get ( & httd . Request { Ratelimiter : ratelimitGuildBans ( id ) , Endpoint : endpoint . GuildBans ( id ) , } ) if err != nil { return } err = unmarshal ( body , & ret ) return }
GetGuildBans [GET]       Returns a list of ban objects for the users banned from this guild.
GetGuildBans [ GET ] Returns a list of ban objects for the users banned from this guild .