func ModifyGuildMember(client httd.Patcher, guildID, userID Snowflake, params *ModifyGuildMemberParams) (err error) {
	resp, _, err := client.Patch(&httd.Request{
		Ratelimiter: ratelimitGuildMembers(guildID),
		Endpoint:    endpoint.GuildMember(guildID, userID),
		JSONParams:  params,
		ContentType: httd.ContentTypeJSON,
	})
	if err != nil {
		return
	}

	if resp.StatusCode != http.StatusNoContent {
		msg := "Could not change attributes of member. Does the member exist, and do you have permissions?"
		err = errors.New(msg)
	}

	return
}
// ModifyGuildMember [PATCH]    Modify attributes of a guild member. Returns a 204 empty response on success.
//                              Fires a Guild Member Update Gateway event.
// Endpoint                     /guilds/{guild.id}/members/{user.id}
// Rate limiter                 /guilds/{guild.id}/members
// Discord documentation        https://discordapp.com/developers/docs/resources/guild#modify-guild-member
// Reviewed                     2018-08-17
// Comment                      All parameters to this endpoint. are optional. When moving members to channels,
//                              the API user must have permissions to both connect to the channel and have the
//                              MOVE_MEMBERS permission.
ModifyGuildMember [PATCH]    Modify attributes of a guild member. Returns a 204 empty response on success.
Fires a Guild Member Update Gateway event.
// ModifyGuildMember [ PATCH ] Modify attributes of a guild member . Returns a 204 empty response on success . // Fires a Guild Member Update Gateway event . // Endpoint / guilds / { guild . id } / members / { user . id } // Rate limiter / guilds / { guild . id } / members // Discord documentation https : // discordapp . com / developers / docs / resources / guild#modify - guild - member // Reviewed 2018 - 08 - 17 // Comment All parameters to this endpoint . are optional . When moving members to channels // the API user must have permissions to both connect to the channel and have the // MOVE_MEMBERS permission .
func ModifyGuildMember(client httd.Patcher, guildID, userID Snowflake, params *ModifyGuildMemberParams) (err error) {
	resp, _, err := client.Patch(&httd.Request{
		Ratelimiter: ratelimitGuildMembers(guildID),
		Endpoint:    endpoint.GuildMember(guildID, userID),
		JSONParams:  params,
		ContentType: httd.ContentTypeJSON,
	})
	if err != nil {
		return
	}
	if resp.StatusCode != http.StatusNoContent {
		msg := "Could not change attributes of member. Does the member exist, and do you have permissions?"
		err = errors.New(msg)
	}
	return
}
func ModifyGuildMember ( client httd . Patcher , guildID , userID Snowflake , params * ModifyGuildMemberParams ) ( err error ) { resp , _ , err := client . Patch ( & httd . Request { Ratelimiter : ratelimitGuildMembers ( guildID ) , Endpoint : endpoint . GuildMember ( guildID , userID ) , JSONParams : params , ContentType : httd . ContentTypeJSON , } ) if err != nil { return } if resp . StatusCode != http . StatusNoContent { msg := " " err = errors . New ( msg ) } return }
ModifyGuildMember [PATCH]    Modify attributes of a guild member.
ModifyGuildMember [ PATCH ] Modify attributes of a guild member .