AutoModerationActionType
EnumOn this page
discord.AutoModerationActionType lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.AutoModerationActionType.BlockMessage1Block Message. Use the symbolic name in bot code rather than the raw value.
discord.AutoModerationActionType.SendAlertMessage2Send Alert Message. Use the symbolic name in bot code rather than the raw value.
discord.AutoModerationActionType.Timeout3Timeout. Use the symbolic name in bot code rather than the raw value.
discord.AutoModerationActionType.BlockMemberInteraction4Block Member Interaction. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.AutoModerationActionType.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.AutoModerationActionType.BlockMessage)