LogoAntiRaid

@antiraid-ext/events/discord/ThreadDelete

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

@antiraid-ext/events/discord/ThreadDelete

Functions

onThreadDelete

ThreadDelete

Dispatched when a thread is deleted.

Provides the partial data about the deleted thread and, if it was present in the cache before its deletion, its full data.

Function Signature
--- ThreadDelete
---
--- Dispatched when a thread is deleted.
---
--- Provides the partial data about the deleted thread and, if it was present in the cache before its deletion, its full data.
function onThreadDelete(event: Primitives.Event, callback: (event: discordGateway.DeleteThreadPayload) -> ()) end

Arguments

event

Primitives.Event

callback

Function Signature
callback: (event: discordGateway.DeleteThreadPayload) -> ()

Arguments

event

discordGateway.DeleteThreadPayload

Last updated on