diff --git a/src/Discord.Net.Core/Entities/Interactions/SlashCommands/SlashCommandBuilder.cs b/src/Discord.Net.Core/Entities/Interactions/SlashCommands/SlashCommandBuilder.cs index 94f5956dd..03fb24c8b 100644 --- a/src/Discord.Net.Core/Entities/Interactions/SlashCommands/SlashCommandBuilder.cs +++ b/src/Discord.Net.Core/Entities/Interactions/SlashCommands/SlashCommandBuilder.cs @@ -933,7 +933,7 @@ namespace Discord EnsureValidCommandOptionName(name); - _descriptionLocalizations ??= new(); + _nameLocalizations ??= new(); _nameLocalizations.Add(locale, name); return this;