func RemoveGuildBan(client httd.Deleter, guildID, userID Snowflake) (err error) {
	resp, _, err := client.Delete(&httd.Request{
		Ratelimiter: ratelimitGuildBans(guildID),
		Endpoint:    endpoint.GuildBan(guildID, userID),
	})
	if err != nil {
		return
	}

	if resp.StatusCode != http.StatusNoContent {
		msg := "Could not remove ban on user. Do you have the BAN_MEMBERS permission?"
		err = errors.New(msg)
	}

	return
}
// RemoveGuildBan [DELETE]  Remove the ban for a user. Requires the 'BAN_MEMBERS' permissions.
//                          Returns a 204 empty response on success. Fires a Guild Ban Remove Gateway event.
// Endpoint                 /guilds/{guild.id}/bans/{user.id}
// Rate limiter             /guilds/{guild.id}/bans
// Discord documentation    https://discordapp.com/developers/docs/resources/guild#remove-guild-ban
// Reviewed                 2018-08-18
// Comment                  -
RemoveGuildBan [DELETE]  Remove the ban for a user. Requires the 'BAN_MEMBERS' permissions.
Returns a 204 empty response on success. Fires a Guild Ban Remove Gateway event.
// RemoveGuildBan [ DELETE ] Remove the ban for a user . Requires the ' BAN_MEMBERS ' permissions . // Returns a 204 empty response on success . Fires a Guild Ban Remove Gateway event . // Endpoint / guilds / { guild . id } / bans / { user . id } // Rate limiter / guilds / { guild . id } / bans // Discord documentation https : // discordapp . com / developers / docs / resources / guild#remove - guild - ban // Reviewed 2018 - 08 - 18 // Comment -
func RemoveGuildBan(client httd.Deleter, guildID, userID Snowflake) (err error) {
	resp, _, err := client.Delete(&httd.Request{
		Ratelimiter: ratelimitGuildBans(guildID),
		Endpoint:    endpoint.GuildBan(guildID, userID),
	})
	if err != nil {
		return
	}
	if resp.StatusCode != http.StatusNoContent {
		msg := "Could not remove ban on user. Do you have the BAN_MEMBERS permission?"
		err = errors.New(msg)
	}
	return
}
func RemoveGuildBan ( client httd . Deleter , guildID , userID Snowflake ) ( err error ) { resp , _ , err := client . Delete ( & httd . Request { Ratelimiter : ratelimitGuildBans ( guildID ) , Endpoint : endpoint . GuildBan ( guildID , userID ) , } ) if err != nil { return } if resp . StatusCode != http . StatusNoContent { msg := " " err = errors . New ( msg ) } return }
RemoveGuildBan [DELETE]  Remove the ban for a user.
RemoveGuildBan [ DELETE ] Remove the ban for a user .