Nostrum.Api.modify_guild_integrations

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

modify_guild_integrations(guild_id, integration_id, options)

View Source

Specs

modify_guild_integrations(integer(), integer(), %{
  expire_behaviour: integer(),
  expire_grace_period: integer(),
  enable_emoticons: boolean()
}) :: error() | {:ok}

Changes the settings and behaviours for a guild integeration.

Integration to modify is specified by guild_id and integeration_id.

options is a map with the following keys:

  • expire_behavior - Expiry behavior.
  • expire_grace_period - Period where the integration will ignore elapsed subs.
  • enable_emoticons - Whether emoticons should be synced.