From 2212473e8583334f00500e8ab9dce9819ced9af5 Mon Sep 17 00:00:00 2001 From: Velvet Toroyashi <42438262+VelvetToroyashi@users.noreply.github.com> Date: Mon, 4 Sep 2023 12:35:29 -0400 Subject: [PATCH] feat: Add new permissions This commit implements the new permissions (USE_CLYDE_AI, SET_VOICE_CHANNEL_STATUS, and CREATE_GUILD_EXPRESSIONS) as seen in these PRs: https://github.com/discord/discord-api-docs/pull/6354 https://github.com/discord/discord-api-docs/pull/6398 https://github.com/discord/discord-api-docs/pull/6120 --- .../Objects/Permissions/DiscordPermission.cs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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..820bd6f5ec 100644 --- a/Backend/Remora.Discord.API.Abstractions/API/Objects/Permissions/DiscordPermission.cs +++ b/Backend/Remora.Discord.API.Abstractions/API/Objects/Permissions/DiscordPermission.cs @@ -253,6 +253,11 @@ public enum DiscordPermission /// UseSoundboard = 42, + /// + /// Allows for creating emojis, stickers, and soundboard sounds, independently of managing them. + /// + CreateGuildExpressions = 43, + /// /// Allows the usage of custom soundboard sounds from other servers. /// @@ -261,5 +266,15 @@ public enum DiscordPermission /// /// Allows for sending voice messages. /// - SendVoiceMessages = 46 + SendVoiceMessages = 46, + + /// + /// Allows for interaction with Clyde (AI). + /// + UseClydeAi = 47, + + /// + /// Allows for setting the status of a voice channel. + /// + SetVoiceChannelStatus = 48 }