PolarExpress.Schemas.BenefitDiscordProperties (polar_express v0.1.5)

Copy Markdown View Source

BenefitDiscordProperties

Properties for a benefit of type discord.

Summary

Types

t()

@type t() :: %PolarExpress.Schemas.BenefitDiscordProperties{
  guild_id: String.t() | nil,
  guild_token: String.t() | nil,
  kick_member: boolean() | nil,
  role_id: String.t() | nil
}
  • guild_id - The ID of the Discord server.
  • guild_token
  • kick_member - Whether to kick the member from the Discord server on revocation.
  • role_id - The ID of the Discord role to grant.

Functions

schema_name()