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

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

Specs

allow() :: integer()

Permission bit set

Specs

deny() :: integer()

Permission bit set

Specs

Role or User id

Specs

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

Specs

type() :: 0 | 1

Either 0 (role) or 1 (member)