From 4363a5bb4e13e96e729456f90c10101c94438d14 Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Tue, 5 May 2020 21:01:38 -0700 Subject: [PATCH] docs: Resolve PR comments for documentation issues/typos --- src/Discord.Net.Commands/ModuleBase.cs | 2 +- .../Entities/Channels/IMessageChannel.cs | 2 +- .../Entities/Messages/AllowedMentions.cs | 12 +++++++----- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/Discord.Net.Commands/ModuleBase.cs b/src/Discord.Net.Commands/ModuleBase.cs index 46b82cd0b..ec1722c70 100644 --- a/src/Discord.Net.Commands/ModuleBase.cs +++ b/src/Discord.Net.Commands/ModuleBase.cs @@ -32,7 +32,7 @@ namespace Discord.Commands /// Specifies if Discord should read this aloud using text-to-speech. /// An embed to be displayed alongside the . /// - /// Specifies if notifications are sent for mentioned users and roles in the message . + /// Specifies if notifications are sent for mentioned users and roles in the . /// If null, all mentioned roles and users will be notified. /// protected virtual async Task ReplyAsync(string message = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions = null) diff --git a/src/Discord.Net.Core/Entities/Channels/IMessageChannel.cs b/src/Discord.Net.Core/Entities/Channels/IMessageChannel.cs index 667acd198..f5b986295 100644 --- a/src/Discord.Net.Core/Entities/Channels/IMessageChannel.cs +++ b/src/Discord.Net.Core/Entities/Channels/IMessageChannel.cs @@ -24,7 +24,7 @@ namespace Discord /// The to be sent. /// The options to be used when sending the request. /// - /// Specifies if notifications are sent for mentioned users and roles in the message . If null, all mentioned roles and users will be notified. If null, all mentioned roles and users will be notified.Specifies if notifications are sent for mentioned users and roles in the message . + /// Specifies if notifications are sent for mentioned users and roles in the message . /// If null, all mentioned roles and users will be notified. /// /// diff --git a/src/Discord.Net.Core/Entities/Messages/AllowedMentions.cs b/src/Discord.Net.Core/Entities/Messages/AllowedMentions.cs index 27ec99845..9b168bbd0 100644 --- a/src/Discord.Net.Core/Entities/Messages/AllowedMentions.cs +++ b/src/Discord.Net.Core/Entities/Messages/AllowedMentions.cs @@ -24,15 +24,17 @@ namespace Discord /// /// Gets or sets the type of mentions that will be parsed from the message content. + /// + /// /// The flag is mutually exclusive with the /// property, and the flag is mutually exclusive with the /// property. - /// If null, only the Ids specified in and will be mentioned. - /// + /// If null, only the ids specified in and will be mentioned. + /// public AllowedMentionTypes? AllowedTypes { get; set; } /// - /// Gets or sets the list of all role Ids that will be mentioned. + /// Gets or sets the list of all role ids that will be mentioned. /// This property is mutually exclusive with the /// flag of the property. If the flag is set, the value of this property /// must be null or empty. @@ -40,7 +42,7 @@ namespace Discord public List RoleIds { get; set; } /// - /// Gets or sets the list of all user Ids that will be mentioned. + /// Gets or sets the list of all user ids that will be mentioned. /// This property is mutually exclusive with the /// flag of the property. If the flag is set, the value of this property /// must be null or empty. @@ -52,7 +54,7 @@ namespace Discord /// /// /// The types of mentions to parse from the message content. - /// If null, only the Ids specified in and will be mentioned. + /// If null, only the ids specified in and will be mentioned. /// public AllowedMentions(AllowedMentionTypes? allowedTypes = null) {