Instance Method

modifyIntegration(_:with:then:)

Modifies an integration from this guild

Declaration

func modifyIntegration(_ integrationId: Snowflake, with options: [String : Any], then completion: ((RequestError?) -> Void)? = nil)

Parameters

integrationId

Integration to modify

options

Preconfigured options to modify this integration with

Option Params

  • expire_behavior: The behavior when an integration subscription lapses (see the integration object documentation)

  • expire_grace_period: Period (in seconds) where the integration will ignore lapsed subscriptions

  • enable_emoticons: Whether emoticons should be synced for this integration (twitch only currently), true or false