Instance Method

createIntegration(with:then:)

Creates an integration for this guild

Declaration

func createIntegration(with options: [String : String], then completion: ((RequestError?) -> Void)? = nil)

Parameters

options

Preconfigured options for this integration

Option Params

  • type: The type of integration to create

  • id: The id of the user’s integration to link to this guild