Nostrum.Struct.Guild.Integration (Nostrum v0.5.0-rc1) View Source
Struct representing a Discord guild integration.
The struct defined here only has the fields provided for Discord Bot integrations available. If you use Nostrum in a non-bot application, feel free to open an issue to add it.
References
Link to this section Summary
Link to this section Types
Specs
enabled() :: boolean()
Whether this integration is enabled
Specs
id() :: Nostrum.Snowflake.t()
Snowflake ID of the integration
Specs
name() :: String.t()
Name of the integration
Specs
t() :: %Nostrum.Struct.Guild.Integration{ enabled: enabled(), id: id(), name: name(), type: type() }
Represents a Guild integration
Specs
type() :: String.t()
Integration type (Twitch, YouTube or Discord)