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

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

Link to this type

guild_id()

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

ID of the guild

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

Event sent when a user is banned from a guild

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

Banned user