Skip to main content

handleAutoModerationRuleUpdate

@discordeno/botDocs


Documentation / @discordeno/bot / handleAutoModerationRuleUpdate

Function: handleAutoModerationRuleUpdate()

handleAutoModerationRuleUpdate(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_UPDATE.ts:5