func GetGuildVanityURL(client httd.Getter, guildID Snowflake) (ret *PartialInvite, err error) {
	_, body, err := client.Get(&httd.Request{
		Ratelimiter: ratelimitGuildVanityURL(guildID),
		Endpoint:    endpoint.GuildVanityURL(guildID),
	})
	if err != nil {
		return
	}

	err = unmarshal(body, &ret)
	return
}
// GetGuildVanityURL [GET]  Returns a partial invite object for guilds with that feature enabled.
//                          Requires the 'MANAGE_GUILD' permission.
// Endpoint                 /guilds/{guild.id}/vanity-url
// Rate limiter             /guilds/{guild.id}/vanity-url
// Discord documentation    https://discordapp.com/developers/docs/resources/guild#get-guild-vanity-url
// Reviewed                 2018-08-18
// Comment                  -
GetGuildVanityURL [GET]  Returns a partial invite object for guilds with that feature enabled.
Requires the 'MANAGE_GUILD' permission.
// GetGuildVanityURL [ GET ] Returns a partial invite object for guilds with that feature enabled . // Requires the ' MANAGE_GUILD ' permission . // Endpoint / guilds / { guild . id } / vanity - url // Rate limiter / guilds / { guild . id } / vanity - url // Discord documentation https : // discordapp . com / developers / docs / resources / guild#get - guild - vanity - url // Reviewed 2018 - 08 - 18 // Comment -
func GetGuildVanityURL(client httd.Getter, guildID Snowflake) (ret *PartialInvite, err error) {
	_, body, err := client.Get(&httd.Request{
		Ratelimiter: ratelimitGuildVanityURL(guildID),
		Endpoint:    endpoint.GuildVanityURL(guildID),
	})
	if err != nil {
		return
	}
	err = unmarshal(body, &ret)
	return
}
func GetGuildVanityURL ( client httd . Getter , guildID Snowflake ) ( ret * PartialInvite , err error ) { _ , body , err := client . Get ( & httd . Request { Ratelimiter : ratelimitGuildVanityURL ( guildID ) , Endpoint : endpoint . GuildVanityURL ( guildID ) , } ) if err != nil { return } err = unmarshal ( body , & ret ) return }
GetGuildVanityURL [GET]  Returns a partial invite object for guilds with that feature enabled.
GetGuildVanityURL [ GET ] Returns a partial invite object for guilds with that feature enabled .