View Source Nostrum.Struct.Overwrite (Nostrum v0.8.0)

Struct representing a Discord overwrite.

Link to this section Summary

Types

Permission bit set

Permission bit set

Role or User id

t()

Either 0 (role) or 1 (member)

Link to this section Types

@type allow() :: integer()

Permission bit set

@type deny() :: integer()

Permission bit set

@type id() :: Nostrum.Snowflake.t()

Role or User id

@type t() :: %Nostrum.Struct.Overwrite{
  allow: allow(),
  deny: deny(),
  id: id(),
  type: type()
}
@type type() :: 0 | 1

Either 0 (role) or 1 (member)