func ModifyGuildIntegration(client httd.Patcher, guildID, integrationID Snowflake, params *ModifyGuildIntegrationParams) (err error) {
	resp, _, err := client.Patch(&httd.Request{
		Ratelimiter: ratelimitGuildIntegrations(guildID),
		Endpoint:    endpoint.GuildIntegration(guildID, integrationID),
		JSONParams:  params,
		ContentType: httd.ContentTypeJSON,
	})
	if err != nil {
		return
	}

	if resp.StatusCode != http.StatusNoContent {
		msg := "Could not modify the integration object. Do you have the MANAGE_GUILD permission?"
		err = errors.New(msg)
	}

	return
}
// ModifyGuildIntegration [POST]    Modify the behavior and settings of a integration object for the guild.
//                                  Requires the 'MANAGE_GUILD' permission. Returns a 204 empty response on success.
//                                  Fires a Guild Integrations Update Gateway event.
// Endpoint                         /guilds/{guild.id}/integrations/{integration.id}
// Rate limiter                     /guilds/{guild.id}/integrations
// Discord documentation            https://discordapp.com/developers/docs/resources/guild#modify-guild-integration
// Reviewed                         2018-08-18
// Comment                          -
ModifyGuildIntegration [POST]    Modify the behavior and settings of a integration object for the guild.
Requires the 'MANAGE_GUILD' permission. Returns a 204 empty response on success.
Fires a Guild Integrations Update Gateway event.
// ModifyGuildIntegration [ POST ] Modify the behavior and settings of a integration object for the guild . // Requires the ' MANAGE_GUILD ' permission . Returns a 204 empty response on success . // Fires a Guild Integrations Update Gateway event . // Endpoint / guilds / { guild . id } / integrations / { integration . id } // Rate limiter / guilds / { guild . id } / integrations // Discord documentation https : // discordapp . com / developers / docs / resources / guild#modify - guild - integration // Reviewed 2018 - 08 - 18 // Comment -
func ModifyGuildIntegration(client httd.Patcher, guildID, integrationID Snowflake, params *ModifyGuildIntegrationParams) (err error) {
	resp, _, err := client.Patch(&httd.Request{
		Ratelimiter: ratelimitGuildIntegrations(guildID),
		Endpoint:    endpoint.GuildIntegration(guildID, integrationID),
		JSONParams:  params,
		ContentType: httd.ContentTypeJSON,
	})
	if err != nil {
		return
	}
	if resp.StatusCode != http.StatusNoContent {
		msg := "Could not modify the integration object. Do you have the MANAGE_GUILD permission?"
		err = errors.New(msg)
	}
	return
}
func ModifyGuildIntegration ( client httd . Patcher , guildID , integrationID Snowflake , params * ModifyGuildIntegrationParams ) ( err error ) { resp , _ , err := client . Patch ( & httd . Request { Ratelimiter : ratelimitGuildIntegrations ( guildID ) , Endpoint : endpoint . GuildIntegration ( guildID , integrationID ) , JSONParams : params , ContentType : httd . ContentTypeJSON , } ) if err != nil { return } if resp . StatusCode != http . StatusNoContent { msg := " " err = errors . New ( msg ) } return }
ModifyGuildIntegration [POST]    Modify the behavior and settings of a integration object for the guild.
ModifyGuildIntegration [ POST ] Modify the behavior and settings of a integration object for the guild .