Remedy.Schema.Presence (Remedy v0.6.7) View Source

Presence object.

While presence is updated on a per guild basis. It is always the same between guilds. If your bot shares a number of servers with the same users then it will receive updates from each guild. The only time this has a potential to be different is for Bot users - which are able to set their status on a per shard basis. For this reason the guild_id is not cached or stored on the presence object within Remedy.

Link to this section Summary

Link to this section Types

Specs

t() :: %Remedy.Schema.Presence{
  activities: [Remedy.Schema.Activity.t()],
  client_status: Remedy.Schema.ClientStatus.t(),
  code: String.t(),
  guild: term(),
  guild_id: term(),
  status: String.t(),
  user: term(),
  user_id: term()
}