@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
callback
Function Signature
callback: (data: discordGateway.GuildBanAddPayload) -> ()
Arguments
data
Last updated on