From e2e20284a4942ff42fea7fda7d7d240f484f64b7 Mon Sep 17 00:00:00 2001 From: MrCakeSlayer <13650699+MrCakeSlayer@users.noreply.github.com> Date: Wed, 21 Jul 2021 07:25:04 -0400 Subject: [PATCH] Update limits per Discord API docs (https://discord.com/developers/docs/interactions/slash-commands#a-quick-note-on-limits) (#51) --- .../Entities/Interactions/SlashCommandBuilder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Discord.Net.Core/Entities/Interactions/SlashCommandBuilder.cs b/src/Discord.Net.Core/Entities/Interactions/SlashCommandBuilder.cs index d70700138..e0afde50c 100644 --- a/src/Discord.Net.Core/Entities/Interactions/SlashCommandBuilder.cs +++ b/src/Discord.Net.Core/Entities/Interactions/SlashCommandBuilder.cs @@ -23,7 +23,7 @@ namespace Discord /// /// Returns the maximum count of command options allowed by Discord /// - public const int MaxOptionsCount = 10; + public const int MaxOptionsCount = 25; /// /// The name of this slash command. @@ -282,7 +282,7 @@ namespace Discord /// /// The maximum number of choices allowed by Discord. /// - public const int MaxChoiceCount = 10; + public const int MaxChoiceCount = 25; private string _name; private string _description;