Browse Source

docs: fix typo in allowedMentions arg doc

pull/1455/head
Chris Johnston 5 years ago
parent
commit
0e4e4c8533
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      src/Discord.Net.Commands/ModuleBase.cs
  2. +1
    -1
      src/Discord.Net.Core/Entities/Channels/IMessageChannel.cs
  3. +1
    -1
      src/Discord.Net.Core/Extensions/UserExtensions.cs
  4. +1
    -1
      src/Discord.Net.Rest/Entities/Channels/IRestMessageChannel.cs
  5. +1
    -1
      src/Discord.Net.WebSocket/Entities/Channels/ISocketMessageChannel.cs

+ 1
- 1
src/Discord.Net.Commands/ModuleBase.cs View File

@@ -31,7 +31,7 @@ namespace Discord.Commands
/// </param>
/// <param name="isTTS">Specifies if Discord should read this <paramref name="message"/> aloud using text-to-speech.</param>
/// <param name="embed">An embed to be displayed alongside the <paramref name="message"/>.</param>
/// <param name="allowedMentions">The types of mentions that will be send with this message.</param>
/// <param name="allowedMentions">The types of mention notifications that will be sent with this message.</param>
protected virtual async Task<IUserMessage> ReplyAsync(string message = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions = null)
{
return await Context.Channel.SendMessageAsync(message, isTTS, embed, options, allowedMentions).ConfigureAwait(false);


+ 1
- 1
src/Discord.Net.Core/Entities/Channels/IMessageChannel.cs View File

@@ -23,7 +23,7 @@ namespace Discord
/// <param name="isTTS">Determines whether the message should be read aloud by Discord or not.</param>
/// <param name="embed">The <see cref="Discord.EmbedType.Rich"/> <see cref="Embed"/> to be sent.</param>
/// <param name="options">The options to be used when sending the request.</param>
/// <param name="allowedMentions">The types of mentions that will be send with this message.</param>
/// <param name="allowedMentions">The types of mention notifications that will be sent with this message.</param>
/// <returns>
/// A task that represents an asynchronous send operation for delivering the message. The task result
/// contains the sent message.


+ 1
- 1
src/Discord.Net.Core/Extensions/UserExtensions.cs View File

@@ -28,7 +28,7 @@ namespace Discord
/// <param name="isTTS">Whether the message should be read aloud by Discord or not.</param>
/// <param name="embed">The <see cref="EmbedType.Rich"/> <see cref="Embed"/> to be sent.</param>
/// <param name="options">The options to be used when sending the request.</param>
/// <param name="allowedMentions">The types of mentions that will be send with this message.</param>
/// <param name="allowedMentions">The types of mention notifications that will be sent with this message.</param>
/// <returns>
/// A task that represents the asynchronous send operation. The task result contains the sent message.
/// </returns>


+ 1
- 1
src/Discord.Net.Rest/Entities/Channels/IRestMessageChannel.cs View File

@@ -19,7 +19,7 @@ namespace Discord.Rest
/// <param name="text">The message to be sent.</param>
/// <param name="isTTS">Determines whether the message should be read aloud by Discord or not.</param>
/// <param name="embed">The <see cref="Discord.EmbedType.Rich"/> <see cref="Embed"/> to be sent.</param>
/// <param name="allowedMentions">The types of mentions that will be send with this message.</param>
/// <param name="allowedMentions">The types of mention notifications that will be sent with this message.</param>
/// <param name="options">The options to be used when sending the request.</param>
/// <returns>
/// A task that represents an asynchronous send operation for delivering the message. The task result


+ 1
- 1
src/Discord.Net.WebSocket/Entities/Channels/ISocketMessageChannel.cs View File

@@ -28,7 +28,7 @@ namespace Discord.WebSocket
/// <param name="text">The message to be sent.</param>
/// <param name="isTTS">Determines whether the message should be read aloud by Discord or not.</param>
/// <param name="embed">The <see cref="Discord.EmbedType.Rich"/> <see cref="Embed"/> to be sent.</param>
/// <param name="allowedMentions">The types of mentions that will be send with this message.</param>
/// <param name="allowedMentions">The types of mention notifications that will be sent with this message.</param>
/// <param name="options">The options to be used when sending the request.</param>
/// <returns>
/// A task that represents an asynchronous send operation for delivering the message. The task result


Loading…
Cancel
Save