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

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

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