View Source Nostrum.Struct.Event.GuildBanAdd (Nostrum v0.6.1)

Sent when a user is banned from a guild

Link to this section Summary

Types

ID of the guild

t()

Event sent when a user is banned from a guild

Banned user

Link to this section Types

Specs

guild_id() :: Nostrum.Struct.Guild.id()

ID of the guild

Specs

t() :: %Nostrum.Struct.Event.GuildBanAdd{guild_id: guild_id(), user: user()}

Event sent when a user is banned from a guild

Specs

user() :: Nostrum.Struct.User.t()

Banned user