Elixir v0.2.1 Nostrum.Struct.Guild.Role

Struct representing a Discord role.

Summary

Types

The hexadecimal color code

Whether the role is pinned in the user listing

The id of the role

Whether the role is managed by an integration

Whether the role is mentionable

The name of the role

The permission bit set

The position of the role

t()

Types

color()
color() :: integer

The hexadecimal color code

hoist()
hoist() :: boolean

Whether the role is pinned in the user listing

id()
id() :: integer

The id of the role

managed()
managed() :: boolean

Whether the role is managed by an integration

mentionable()
mentionable() :: boolean

Whether the role is mentionable

name()
name() :: String.t

The name of the role

permissions()
permissions() :: integer

The permission bit set

position()
position() :: integer

The position of the role

t()
t() :: %Nostrum.Struct.Guild.Role{color: color, hoist: hoist, id: id, managed: managed, mentionable: mentionable, name: name, permissions: permissions, position: position}