Guild to create integration for
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
-
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