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

	err = unmarshal(body, &ret)
	return
}
// GetGuildInvites [GET]    Returns a list of invite objects (with invite metadata) for the guild.
//                          Requires the 'MANAGE_GUILD' permission.
// Endpoint                 /guilds/{guild.id}/invites
// Rate limiter             /guilds/{guild.id}/invites
// Discord documentation    https://discordapp.com/developers/docs/resources/guild#get-guild-invites
// Reviewed                 2018-08-18
// Comment                  -
GetGuildInvites [GET]    Returns a list of invite objects (with invite metadata) for the guild.
Requires the 'MANAGE_GUILD' permission.
// GetGuildInvites [ GET ] Returns a list of invite objects ( with invite metadata ) for the guild . // Requires the ' MANAGE_GUILD ' permission . // Endpoint / guilds / { guild . id } / invites // Rate limiter / guilds / { guild . id } / invites // Discord documentation https : // discordapp . com / developers / docs / resources / guild#get - guild - invites // Reviewed 2018 - 08 - 18 // Comment -
func GetGuildInvites(client httd.Getter, id Snowflake) (ret []*Invite, err error) {
	_, body, err := client.Get(&httd.Request{
		Ratelimiter: ratelimitGuildInvites(id),
		Endpoint:    endpoint.GuildInvites(id),
	})
	if err != nil {
		return
	}
	err = unmarshal(body, &ret)
	return
}
func GetGuildInvites ( client httd . Getter , id Snowflake ) ( ret [ ] * Invite , err error ) { _ , body , err := client . Get ( & httd . Request { Ratelimiter : ratelimitGuildInvites ( id ) , Endpoint : endpoint . GuildInvites ( id ) , } ) if err != nil { return } err = unmarshal ( body , & ret ) return }
GetGuildInvites [GET]    Returns a list of invite objects (with invite metadata) for the guild.
GetGuildInvites [ GET ] Returns a list of invite objects ( with invite metadata ) for the guild .