Browse Source

Merge branch 'feature/command-localization' of https://github.com/Cenngo/Discord.Net into feature/command-localization

pull/2211/head
Cenngo 2 years ago
parent
commit
700aef2f56
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Core/Entities/Interactions/SlashCommands/SlashCommandBuilder.cs

+ 1
- 1
src/Discord.Net.Core/Entities/Interactions/SlashCommands/SlashCommandBuilder.cs View File

@@ -856,7 +856,7 @@ namespace Discord
/// </summary>
/// <param name="descriptionLocalizations">Localization dictionary for the description field of this command.</param>
/// <returns>The current builder.</returns>
/// <exception cref="ArgumentNullException">Thrown if <paramref name="nameLocalizations"/> is null.</exception>
/// <exception cref="ArgumentNullException">Thrown if <paramref name="descriptionLocalizations"/> is null.</exception>
/// <exception cref="ArgumentException">Thrown if any dictionary key is an invalid locale string.</exception>
public SlashCommandOptionBuilder WithDescriptionLocalizations(IDictionary<string, string> descriptionLocalizations)
{


Loading…
Cancel
Save