View Source Nostrum.Struct.Guild.Ban (Nostrum v0.10.0)

Represents a guild ban.

Summary

Types

The reason for the ban

t()

The banned user

Types

Link to this type

reason()

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

The reason for the ban

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

The banned user