Nostrum.Struct.Guild.Ban (nostrum v0.11.0-dev)

View Source

Represents a guild ban.

Summary

Types

The reason for the ban

t()

The banned user

Types

reason()

(since 0.5.0)
@type reason() :: String.t() | nil

The reason for the ban

t()

(since 0.5.0)
@type t() :: %Nostrum.Struct.Guild.Ban{reason: reason(), user: user()}

user()

(since 0.5.0)
@type user() :: Nostrum.Struct.User.t()

The banned user