Remedy.Schema.Guild (Remedy v0.6.6) View Source

Discord Guild Object

Link to this section Summary

Functions

Returns the URL for a guilds banner.

Returns the URL for a guilds discovery splash.

Returns the URL for a guilds icon.

Returns the URL for a guilds splash.

Link to this section Types

Specs

t() :: %Remedy.Schema.Guild{
  __meta__: term(),
  afk_channel: Remedy.Schema.Channel.t(),
  afk_timeout: integer(),
  application: Remedy.Schema.App.t(),
  application_id: term(),
  approximate_member_count: integer(),
  approximate_presence_count: integer(),
  banned_users: [Remedy.Schema.User.t()],
  banner: String.t(),
  bans: [Remedy.Schema.Ban.t()],
  channels: [Remedy.Schema.Channel.t()],
  default_message_notifications: integer(),
  description: String.t(),
  discovery_splash: String.t(),
  emojis: [Remedy.Schema.Emoji.t()],
  explicit_content_filter: integer(),
  features: [String.t()],
  icon: String.t(),
  icon_hash: String.t(),
  id: term(),
  joined_at: Sunbake.ISO8601.t(),
  large: boolean(),
  max_members: integer(),
  max_presences: integer(),
  max_video_channel_users: integer(),
  member_count: integer(),
  members: [Remedy.Schema.Member.t()],
  mfa_level: integer(),
  name: String.t(),
  nsfw_level: integer(),
  owner: Remedy.Schema.User.t(),
  owner_id: term(),
  permissions: String.t(),
  preferred_locale: String.t(),
  premium_subscription_count: integer(),
  premium_tier: integer(),
  presences: [Remedy.Schema.Presence.t()],
  public_updates_channel: Remedy.Schema.Channel.t(),
  region: String.t(),
  roles: [Remedy.Schema.Role.t()],
  rules_channel: Remedy.Schema.Channel.t(),
  shard: integer(),
  splash: String.t(),
  stage_instances: [Remedy.Schema.StageInstance.t()],
  stickers: [Remedy.Schema.Sticker.t()],
  system_channel: Remedy.Schema.Channel.t(),
  system_channel_flags: integer(),
  threads: [Remedy.Schema.Thread.t()],
  vanity_url_code: String.t(),
  verification_level: integer(),
  voice_states: [Remedy.Schema.VoiceState.t()],
  widget_channel: Remedy.Schema.Channel.t(),
  widget_enabled: boolean()
}

Link to this section Functions

Link to this function

banner(guild, size \\ nil)

View Source

Specs

banner(t(), Remedy.CDN.size()) :: nil | binary()

Returns the URL for a guilds banner.

Link to this function

changeset(model, params)

View Source
Link to this function

discovery_splash(guild, size \\ nil)

View Source

Specs

discovery_splash(t(), Remedy.CDN.size()) :: nil | binary()

Returns the URL for a guilds discovery splash.

Link to this function

icon(guild, size \\ nil)

View Source

Specs

icon(t(), Remedy.CDN.size()) :: nil | binary()

Returns the URL for a guilds icon.

Link to this function

splash(guild, size \\ nil)

View Source

Specs

splash(t(), Remedy.CDN.size()) :: nil | binary()

Returns the URL for a guilds splash.