AutoModerationRuleEventType
EnumOn this page
discord.AutoModerationRuleEventType lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.AutoModerationRuleEventType.MessageSend1Message Send. Use the symbolic name in bot code rather than the raw value.
discord.AutoModerationRuleEventType.MemberUpdate2Member Update. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.AutoModerationRuleEventType.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.AutoModerationRuleEventType.MessageSend)