From 76898286e4e061a177879d28d083367fa504714f Mon Sep 17 00:00:00 2001
From: Cenk Ergen <57065323+Cenngo@users.noreply.github.com>
Date: Mon, 1 Aug 2022 20:40:17 +0300
Subject: [PATCH] Apply suggestions from code review
Co-authored-by: Armano den Boef <68127614+Rozen4334@users.noreply.github.com>
---
.../SlashCommands/SlashCommandBuilder.cs | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/Discord.Net.Core/Entities/Interactions/SlashCommands/SlashCommandBuilder.cs b/src/Discord.Net.Core/Entities/Interactions/SlashCommands/SlashCommandBuilder.cs
index c6b8195a0..b2f00d4f6 100644
--- a/src/Discord.Net.Core/Entities/Interactions/SlashCommands/SlashCommandBuilder.cs
+++ b/src/Discord.Net.Core/Entities/Interactions/SlashCommands/SlashCommandBuilder.cs
@@ -282,7 +282,7 @@ namespace Discord
///
/// Sets the collection.
///
- /// Localization dictionary for the name field of this command.
+ /// The localization dictionary to use for the name field of this command.
///
/// Thrown if is null.
/// Thrown if any dictionary key is an invalid locale string.
@@ -306,7 +306,7 @@ namespace Discord
///
/// Sets the collection.
///
- /// Localization dictionary for the name field of this command.
+ /// The localization dictionary to use for the description field of this command.
///
/// Thrown if is null.
/// Thrown if any dictionary key is an invalid locale string.
@@ -640,7 +640,7 @@ namespace Discord
///
/// The name of the choice.
/// The value of the choice.
- /// Localization dictionary for the description field of this command.
+ /// The localization dictionary for to use the name field of this command option choice.
/// The current builder.
public SlashCommandOptionBuilder AddChoice(string name, int value, IDictionary nameLocalizations = null)
{
@@ -652,7 +652,7 @@ namespace Discord
///
/// The name of the choice.
/// The value of the choice.
- /// Localization dictionary for the description field of this command.
+ /// The localization dictionary for to use the name field of this command option choice.
/// The current builder.
public SlashCommandOptionBuilder AddChoice(string name, string value, IDictionary nameLocalizations = null)
{
@@ -676,7 +676,7 @@ namespace Discord
///
/// The name of the choice.
/// The value of the choice.
- /// Localization dictionary for the description field of this command.
+ /// The localization dictionary to use for the name field of this command option choice.
/// The current builder.
public SlashCommandOptionBuilder AddChoice(string name, float value, IDictionary nameLocalizations = null)
{
@@ -688,7 +688,7 @@ namespace Discord
///
/// The name of the choice.
/// The value of the choice.
- /// Localization dictionary for the description field of this command.
+ /// The localization dictionary to use for the name field of this command option choice.
/// The current builder.
public SlashCommandOptionBuilder AddChoice(string name, long value, IDictionary nameLocalizations = null)
{
@@ -830,7 +830,7 @@ namespace Discord
///
/// Sets the collection.
///
- /// Localization dictionary for the name field of this command.
+ /// The localization dictionary to use for the name field of this command option.
/// The current builder.
/// Thrown if is null.
/// Thrown if any dictionary key is an invalid locale string.
@@ -854,7 +854,7 @@ namespace Discord
///
/// Sets the collection.
///
- /// Localization dictionary for the description field of this command.
+ /// The localization dictionary to use for the description field of this command option.
/// The current builder.
/// Thrown if is null.
/// Thrown if any dictionary key is an invalid locale string.