crux_structs v0.1.0 Crux.Structs.Member View Source

Represents a Discord Guild Member Object.

Differences opposed to the Discord API Object:

  • :user is just the user id

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Crux.Structs.Member{
  deaf: boolean() | nil,
  guild_id: integer() | nil,
  joined_at: String.t(),
  mute: boolean() | nil,
  nick: String.t() | nil,
  roles: MapSet.t(integer()),
  user: integer()
}