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

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

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