LogoAntiRaid

@antiraid-ext/events/discord/GuildMemberRemoval

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

@antiraid-ext/events/discord/GuildMemberRemoval

Functions

onGuildMemberRemoval

GuildMemberRemoval

Dispatched when a user’s membership ends by leaving, getting kicked, or being banned.

Provides the guild’s id and the user’s data.

Function Signature
--- GuildMemberRemoval
---
--- Dispatched when a user’s membership ends by leaving, getting kicked, or being banned.
---
--- Provides the guild’s id and the user’s data.
function onGuildMemberRemoval(event: Primitives.Event, callback: (payload: discordgateway.GuildMemberRemovePayload) -> ()) end

Arguments

event

Primitives.Event

callback

Function Signature
callback: (payload: discordgateway.GuildMemberRemovePayload) -> ()

Arguments

payload

discordgateway.GuildMemberRemovePayload

Last updated on