diff --git a/src/Discord.Net.Core/Entities/Guilds/IGuild.cs b/src/Discord.Net.Core/Entities/Guilds/IGuild.cs index 88255d56c..34a08f1e7 100644 --- a/src/Discord.Net.Core/Entities/Guilds/IGuild.cs +++ b/src/Discord.Net.Core/Entities/Guilds/IGuild.cs @@ -1198,7 +1198,7 @@ namespace Discord /// Whether to include full localization dictionaries in the returned objects, /// instead of the localized name and description fields. /// - /// The target locale of the localized name and description fields. Sets X-Discord-Locale header, which takes precedence over Accept-Language. + /// The target locale of the localized name and description fields. Sets the X-Discord-Locale header, which takes precedence over Accept-Language. /// The options to be used when sending the request. /// /// A task that represents the asynchronous get operation. The task result contains a read-only collection diff --git a/src/Discord.Net.Core/Entities/Interactions/ContextMenus/MessageCommandBuilder.cs b/src/Discord.Net.Core/Entities/Interactions/ContextMenus/MessageCommandBuilder.cs index ca6995b69..ed49c685d 100644 --- a/src/Discord.Net.Core/Entities/Interactions/ContextMenus/MessageCommandBuilder.cs +++ b/src/Discord.Net.Core/Entities/Interactions/ContextMenus/MessageCommandBuilder.cs @@ -100,7 +100,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. diff --git a/src/Discord.Net.Core/Entities/Interactions/ContextMenus/UserCommandBuilder.cs b/src/Discord.Net.Core/Entities/Interactions/ContextMenus/UserCommandBuilder.cs index 37469d6c3..d8bb2e056 100644 --- a/src/Discord.Net.Core/Entities/Interactions/ContextMenus/UserCommandBuilder.cs +++ b/src/Discord.Net.Core/Entities/Interactions/ContextMenus/UserCommandBuilder.cs @@ -98,7 +98,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. /// The current builder. /// Thrown if is null. /// Thrown if any dictionary key is an invalid locale string. diff --git a/src/Discord.Net.Core/Entities/Interactions/IApplicationCommandOption.cs b/src/Discord.Net.Core/Entities/Interactions/IApplicationCommandOption.cs index 72114fb53..7e8c93339 100644 --- a/src/Discord.Net.Core/Entities/Interactions/IApplicationCommandOption.cs +++ b/src/Discord.Net.Core/Entities/Interactions/IApplicationCommandOption.cs @@ -63,17 +63,17 @@ namespace Discord IReadOnlyCollection ChannelTypes { get; } /// - /// Gets the localization dictionary for the name field of this command. + /// Gets the localization dictionary for the name field of this command option. /// IReadOnlyDictionary NameLocalizations { get; } /// - /// Gets the localization dictionary for the description field of this command. + /// Gets the localization dictionary for the description field of this command option. /// IReadOnlyDictionary DescriptionLocalizations { get; } /// - /// Gets the localized name of this command. + /// Gets the localized name of this command option. /// /// /// Only returned when the `withLocalizations` query parameter is set to when requesting the command. @@ -81,7 +81,7 @@ namespace Discord string NameLocalized { get; } /// - /// Gets the localized description of this command. + /// Gets the localized description of this command option. /// /// /// Only returned when the `withLocalizations` query parameter is set to true when requesting the command. diff --git a/src/Discord.Net.Core/Entities/Interactions/IApplicationCommandOptionChoice.cs b/src/Discord.Net.Core/Entities/Interactions/IApplicationCommandOptionChoice.cs index df52f9cd6..3f76bae72 100644 --- a/src/Discord.Net.Core/Entities/Interactions/IApplicationCommandOptionChoice.cs +++ b/src/Discord.Net.Core/Entities/Interactions/IApplicationCommandOptionChoice.cs @@ -18,12 +18,12 @@ namespace Discord object Value { get; } /// - /// Gets the localization dictionary for the name field of this command. + /// Gets the localization dictionary for the name field of this command option. /// IReadOnlyDictionary NameLocalizations { get; } /// - /// Gets the localized name of this command. + /// Gets the localized name of this command option. /// /// /// Only returned when the `withLocalizations` query parameter is set to when requesting the command. 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. diff --git a/src/Discord.Net.Interactions/LocalizationManagers/ILocalizationManager.cs b/src/Discord.Net.Interactions/LocalizationManagers/ILocalizationManager.cs index 1c2216fee..13b155292 100644 --- a/src/Discord.Net.Interactions/LocalizationManagers/ILocalizationManager.cs +++ b/src/Discord.Net.Interactions/LocalizationManagers/ILocalizationManager.cs @@ -5,7 +5,7 @@ using System.Threading.Tasks; namespace Discord.Interactions { /// - /// Respresents localization provider for Discord Application Commands. + /// Respresents a localization provider for Discord Application Commands. /// public interface ILocalizationManager {