From bc1826c3c6e7cf0bd20c4f6ef0876275430b7b87 Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Mon, 5 Feb 2024 17:28:15 +0100 Subject: [PATCH] Update permissions. See discord/discord-api-docs#6305. --- .../API/Objects/Permissions/DiscordPermission.cs | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Backend/Remora.Discord.API.Abstractions/API/Objects/Permissions/DiscordPermission.cs b/Backend/Remora.Discord.API.Abstractions/API/Objects/Permissions/DiscordPermission.cs index 370334bf71..d6979cfe37 100644 --- a/Backend/Remora.Discord.API.Abstractions/API/Objects/Permissions/DiscordPermission.cs +++ b/Backend/Remora.Discord.API.Abstractions/API/Objects/Permissions/DiscordPermission.cs @@ -188,7 +188,7 @@ public enum DiscordPermission ManageWebhooks = 29, /// - /// Allows management and editing of emojis, stickers, and soundboard sounds. + /// Allows for editing and deleting of emojis, stickers, and soundboard sounds created by all users. /// ManageGuildExpressions = 30, @@ -203,7 +203,7 @@ public enum DiscordPermission RequestToSpeak = 32, /// - /// Allows the user to manage scheduled events. + /// Allows for editing and deleting scheduled events created by all users. /// ManageEvents = 33, @@ -253,6 +253,17 @@ public enum DiscordPermission /// UseSoundboard = 42, + /// + /// Allows for creating emojis, stickers, and soundboard sounds, as well as editing and deleting those created by + /// the current user. + /// + CreateGuildExpressions = 43, + + /// + /// Allows for creating scheduled events, as well as editing and deleting those created by the current user. + /// + CreateEvents = 44, + /// /// Allows the usage of custom soundboard sounds from other servers. ///