Nostrum.Api.create_guild_integrations

You're seeing just the function create_guild_integrations, go back to Nostrum.Api module for more information.
Link to this function

create_guild_integrations(guild_id, options)

View Source

Specs

create_guild_integrations(integer(), %{type: String.t(), id: integer()}) ::
  error() | {:ok}

Creates a new guild integeration.

Guild to create integration with is specified by guild_id.

options is a map with the following requires keys:

  • type - Integration type.
  • id - Integeration id.