diff --git a/DisCatSharp/Enums/Guild/AuditLogActionType.cs b/DisCatSharp/Enums/Guild/AuditLogActionType.cs index 16124af69..05dd71d3c 100644 --- a/DisCatSharp/Enums/Guild/AuditLogActionType.cs +++ b/DisCatSharp/Enums/Guild/AuditLogActionType.cs @@ -1,279 +1,294 @@ // This file is part of the DisCatSharp project, based off DSharpPlus. // // Copyright (c) 2021-2022 AITSYS // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. namespace DisCatSharp.Enums; /// /// Represents type of the action that was taken in given audit log event. /// public enum AuditLogActionType { /// /// Indicates an invalid action type. /// Invalid = 0, /// /// Indicates that the guild was updated. /// GuildUpdate = 1, /// /// Indicates that the channel was created. /// ChannelCreate = 10, /// /// Indicates that the channel was updated. /// ChannelUpdate = 11, /// /// Indicates that the channel was deleted. /// ChannelDelete = 12, /// /// Indicates that the channel permission overwrite was created. /// OverwriteCreate = 13, /// /// Indicates that the channel permission overwrite was updated. /// OverwriteUpdate = 14, /// /// Indicates that the channel permission overwrite was deleted. /// OverwriteDelete = 15, /// /// Indicates that the user was kicked. /// Kick = 20, /// /// Indicates that users were pruned. /// Prune = 21, /// /// Indicates that the user was banned. /// Ban = 22, /// /// Indicates that the user was unbanned. /// Unban = 23, /// /// Indicates that the member was updated. /// MemberUpdate = 24, /// /// Indicates that the member's roles were updated. /// MemberRoleUpdate = 25, /// /// Indicates that the member has moved to another voice channel. /// MemberMove = 26, /// /// Indicates that the member has disconnected from a voice channel. /// MemberDisconnect = 27, /// /// Indicates that a bot was added to the guild. /// BotAdd = 28, /// /// Indicates that the role was created. /// RoleCreate = 30, /// /// Indicates that the role was updated. /// RoleUpdate = 31, /// /// Indicates that the role was deleted. /// RoleDelete = 32, /// /// Indicates that the invite was created. /// InviteCreate = 40, /// /// Indicates that the invite was updated. /// InviteUpdate = 41, /// /// Indicates that the invite was deleted. /// InviteDelete = 42, /// /// Indicates that the webhook was created. /// WebhookCreate = 50, /// /// Indicates that the webook was updated. /// WebhookUpdate = 51, /// /// Indicates that the webhook was deleted. /// WebhookDelete = 52, /// /// Indicates that an emoji was created. /// EmojiCreate = 60, /// /// Indicates that an emoji was updated. /// EmojiUpdate = 61, /// /// Indicates that an emoji was deleted. /// EmojiDelete = 62, /// /// Indicates that the message was deleted. /// MessageDelete = 72, /// /// Indicates that messages were bulk-deleted. /// MessageBulkDelete = 73, /// /// Indicates that a message was pinned. /// MessagePin = 74, /// /// Indicates that a message was unpinned. /// MessageUnpin = 75, /// /// Indicates that an integration was created. /// IntegrationCreate = 80, /// /// Indicates that an integration was updated. /// IntegrationUpdate = 81, /// /// Indicates that an integration was deleted. /// IntegrationDelete = 82, /// /// Indicates that an stage instance was created. /// StageInstanceCreate = 83, /// /// Indicates that an stage instance was updated. /// StageInstanceUpdate = 84, /// /// Indicates that an stage instance was deleted. /// StageInstanceDelete = 85, /// /// Indicates that an sticker was created. /// StickerCreate = 90, /// /// Indicates that an sticker was updated. /// StickerUpdate = 91, /// /// Indicates that an sticker was deleted. /// StickerDelete = 92, /// /// Indicates that an event was created. /// GuildScheduledEventCreate = 100, /// /// Indicates that an event was updated. /// GuildScheduledEventUpdate = 101, /// /// Indicates that an event was deleted. /// GuildScheduledEventDelete = 102, /// /// Indicates that an thread was created. /// ThreadCreate = 110, /// /// Indicates that an thread was updated. /// ThreadUpdate = 111, /// /// Indicates that an thread was deleted. /// ThreadDelete = 112, + /// + /// Indicates that the permissions for an application command was updated. + /// ApplicationCommandPermissionUpdate = 121, + /// + /// Indicates that a new automod rule has been added. + /// AutoModerationRuleCreate = 140, + /// + /// Indicates that a automod rule has been updated. + /// AutoModerationRuleUpdate = 141, + /// + /// Indicates that a automod rule has been deleted. + /// AutoModerationRuleDelete = 142, + /// + /// Indicates that automod blocked a message. + /// AutoModerationBlockMessage = 143 }