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

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

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