Skip to main content

handleAutoModerationRuleDelete

@discordeno/botDocs


Documentation / @discordeno/bot / handleAutoModerationRuleDelete

Function: handleAutoModerationRuleDelete()

handleAutoModerationRuleDelete(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_RULE_DELETE.ts:5