AuditLogEvent
EnumOn this page
discord.AuditLogEvent lists the named constants for this enumeration. Prefer these names over hardcoded literals.
Values
discord.AuditLogEvent.GuildUpdate1Guild Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.ChannelCreate10Channel Create. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.ChannelUpdate11Channel Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.ChannelDelete12Channel Delete. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.ChannelOverwriteCreate13Channel Overwrite Create. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.ChannelOverwriteUpdate14Channel Overwrite Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.ChannelOverwriteDelete15Channel Overwrite Delete. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.MemberKick20Member Kick. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.MemberPrune21Member Prune. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.MemberBanAdd22Member Ban Add. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.MemberBanRemove23Member Ban Remove. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.MemberUpdate24Member Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.MemberRoleUpdate25Member Role Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.MemberMove26Member Move. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.MemberDisconnect27Member Disconnect. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.BotAdd28Bot Add. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.RoleCreate30Role Create. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.RoleUpdate31Role Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.RoleDelete32Role Delete. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.InviteCreate40Invite Create. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.InviteUpdate41Invite Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.InviteDelete42Invite Delete. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.WebhookCreate50Webhook Create. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.WebhookUpdate51Webhook Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.WebhookDelete52Webhook Delete. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.EmojiCreate60Emoji Create. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.EmojiUpdate61Emoji Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.EmojiDelete62Emoji Delete. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.MessageDelete72Message Delete. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.MessageBulkDelete73Message Bulk Delete. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.MessagePin74Message Pin. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.MessageUnpin75Message Unpin. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.IntegrationCreate80Integration Create. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.IntegrationUpdate81Integration Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.IntegrationDelete82Integration Delete. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.StageInstanceCreate83Stage Instance Create. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.StageInstanceUpdate84Stage Instance Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.StageInstanceDelete85Stage Instance Delete. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.StickerCreate90Sticker Create. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.StickerUpdate91Sticker Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.StickerDelete92Sticker Delete. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.GuildScheduledEventCreate100Guild Scheduled Event Create. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.GuildScheduledEventUpdate101Guild Scheduled Event Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.GuildScheduledEventDelete102Guild Scheduled Event Delete. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.ThreadCreate110Thread Create. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.ThreadUpdate111Thread Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.ThreadDelete112Thread Delete. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.ApplicationCommandPermissionUpdate121Application Command Permission Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.AutoModerationRuleCreate140Auto Moderation Rule Create. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.AutoModerationRuleUpdate141Auto Moderation Rule Update. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.AutoModerationRuleDelete142Auto Moderation Rule Delete. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.AutoModerationBlockMessage143Auto Moderation Block Message. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.AutoModerationFlagToChannel144Auto Moderation Flag To Channel. Use the symbolic name in bot code rather than the raw value.
discord.AuditLogEvent.AutoModerationUserCommunicationDisabled145Auto Moderation User Communication Disabled. Use the symbolic name in bot code rather than the raw value.
Usage
Read members as discord.AuditLogEvent.Name. Do not hard-code numeric literals when a symbolic name exists.
Example
local discord = require("discord")
print(discord.AuditLogEvent.GuildUpdate)