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

Represents a guild ban.

Link to this section Summary

Types

The reason for the ban

t()

The banned user

Link to this section 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