Skip to main content

handleAutoModerationActionExecution

@discordeno/botDocs


Documentation / @discordeno/bot / handleAutoModerationActionExecution

Function: handleAutoModerationActionExecution()

handleAutoModerationActionExecution(bot, data, _shardId): Promise<void>

Requires the MANAGE_GUILD permission.

Parameters

bot: Bot<TransformersDesiredProperties, RemoveKey>

data: DiscordGatewayPayload

_shardId: number

Returns

Promise<void>

Defined in

packages/bot/src/handlers/guilds/automod/AUTO_MODERATION_ACTION_EXECUTION.ts:5