LogoAntiRaid

@antiraid-ext/events/discord/GuildBanRemoval

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

@antiraid-ext/events/discord/GuildBanRemoval

Functions

onGuildBanRemoval

GuildBanRemoval

Dispatched when a user is unbanned from a guild.

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

Function Signature
--- GuildBanRemoval
---
--- Dispatched when a user is unbanned from a guild.
---
--- Provides the user’s data and the id of the guild where the unban occurred.
function onGuildBanRemoval(event: Primitives.Event, callback: (user: discordGateway.GuildBanRemovePayload) -> ()) end

Arguments

event

Primitives.Event

callback

Function Signature
callback: (user: discordGateway.GuildBanRemovePayload) -> ()

Arguments

user

discordGateway.GuildBanRemovePayload

Last updated on