LogoAntiRaid

@antiraid-ext/events/discord/GuildBanAddition

API reference for @antiraid-ext/events/discord/GuildBanAddition

@antiraid-ext/events/discord/GuildBanAddition

Functions

onGuildBanAddition

GuildBanAddition

Dispatched when a user is banned from a guild.

Provides the user’s data and the id of the guild where the ban occurred.

Function Signature
--- GuildBanAddition
---
--- Dispatched when a user is banned from a guild.
---
--- Provides the user’s data and the id of the guild where the ban occurred.
function onGuildBanAddition(event: Primitives.Event, callback: (data: discordGateway.GuildBanAddPayload) -> ()) end

Arguments

event

Primitives.Event

callback

Function Signature
callback: (data: discordGateway.GuildBanAddPayload) -> ()

Arguments

data

discordGateway.GuildBanAddPayload

Last updated on