Skip to main content

handleAutoModerationRuleUpdate

@discordeno/bot


Documentation / @discordeno/bot / handleAutoModerationRuleUpdate

Function: handleAutoModerationRuleUpdate()

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

Defined in: packages/bot/src/handlers/guilds/automod/AUTO_MODERATION_RULE_UPDATE.ts:5

Requires the MANAGE_GUILD permission.

Parameters

bot

Bot

data

DiscordGatewayPayload

_shardId

number

Returns

Promise<void>