Instance Method

createIntegration(for:with:then:)

Creates an integration for a guild

Declaration

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

Parameters

guildId

Guild to create integration for

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