Nostrum.Struct.Event.GuildBanAdd (nostrum v0.11.0-dev)

View Source

Sent when a user is banned from a guild

Summary

Types

ID of the guild

t()

Event sent when a user is banned from a guild

Banned user

Types

guild_id()

(since 0.5.0)
@type guild_id() :: Nostrum.Struct.Guild.id()

ID of the guild

t()

(since 0.5.0)
@type t() :: %Nostrum.Struct.Event.GuildBanAdd{guild_id: guild_id(), user: user()}

Event sent when a user is banned from a guild

user()

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

Banned user