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

User Schema

Link to this section Summary

Link to this section Types

Specs

accent_color() :: integer()

Specs

avatar() :: String.t()

Specs

banner() :: String.t()

Specs

bot() :: boolean()

Specs

discriminator() :: integer()

Specs

email() :: String.t()

Specs

flags() :: UserFlags

Specs

Specs

locale() :: String.t()

Specs

mfa_enabled() :: boolean()

Specs

premium_type() :: integer()

Specs

public_flags() :: integer()

Specs

system() :: boolean()

Specs

t() :: %Remedy.Schema.User{
  __meta__: term(),
  accent_color: accent_color(),
  avatar: avatar(),
  banner: banner(),
  bot: bot(),
  discriminator: discriminator(),
  email: email(),
  flags: flags(),
  guilds: term(),
  id: id(),
  locale: locale(),
  messages: term(),
  mfa_enabled: mfa_enabled(),
  premium_type: premium_type(),
  public_flags: public_flags(),
  system: system(),
  username: username(),
  verified: verified()
}

Specs

username() :: String.t()

Specs

verified() :: boolean()

Link to this section Functions

Link to this function

avatar(user, size \\ nil)

View Source

Retreive a URL of a User.

Link to this function

changeset(model, params)

View Source

Specs

mention(t()) :: String.t()

Mention a user.