Browse Source

Fix IMessageChannel samples

pull/1304/head
Still Hsu 6 years ago
parent
commit
617c162f4d
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      src/Discord.Net.Core/Entities/Channels/IMessageChannel.cs

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

@@ -14,8 +14,8 @@ namespace Discord
/// Sends a message to this message channel. /// Sends a message to this message channel.
/// </summary> /// </summary>
/// <example> /// <example>
/// The following example sends a message with the current system time in RFC 1123 format to the channel and
/// deletes itself after 5 seconds.
/// <para>The following example sends a message with the current system time in RFC 1123 format to the channel and
/// deletes itself after 5 seconds.</para>
/// <code language="cs" region="SendMessageAsync" /// <code language="cs" region="SendMessageAsync"
/// source="..\..\..\Discord.Net.Examples\Core\Entities\Channels\IMessageChannel.Examples.cs" /> /// source="..\..\..\Discord.Net.Examples\Core\Entities\Channels\IMessageChannel.Examples.cs" />
/// </example> /// </example>
@@ -63,8 +63,8 @@ namespace Discord
/// Sends a file to this message channel with an optional caption. /// Sends a file to this message channel with an optional caption.
/// </summary> /// </summary>
/// <example> /// <example>
/// The following example uploads a streamed image that will be called <c>b1nzy.jpg</c> embedded inside a
/// rich embed to the channel.
/// <para>The following example uploads a streamed image that will be called <c>b1nzy.jpg</c> embedded inside a
/// rich embed to the channel.</para>
/// <code language="cs" region="SendFileAsync.FileStream.EmbeddedImage" /// <code language="cs" region="SendFileAsync.FileStream.EmbeddedImage"
/// source="..\..\..\Discord.Net.Examples\Core\Entities\Channels\IMessageChannel.Examples.cs" /> /// source="..\..\..\Discord.Net.Examples\Core\Entities\Channels\IMessageChannel.Examples.cs" />
/// </example> /// </example>
@@ -121,8 +121,8 @@ namespace Discord
/// of flattening. /// of flattening.
/// </remarks> /// </remarks>
/// <example> /// <example>
/// The following example downloads 300 messages and gets messages that belong to the user
/// <c>53905483156684800</c>.
/// <para>The following example downloads 300 messages and gets messages that belong to the user
/// <c>53905483156684800</c>.</para>
/// <code language="cs" region="GetMessagesAsync.FromLimit.Standard" /// <code language="cs" region="GetMessagesAsync.FromLimit.Standard"
/// source="..\..\..\Discord.Net.Examples\Core\Entities\Channels\IMessageChannel.Examples.cs" /> /// source="..\..\..\Discord.Net.Examples\Core\Entities\Channels\IMessageChannel.Examples.cs" />
/// </example> /// </example>
@@ -198,7 +198,7 @@ namespace Discord
/// of flattening. /// of flattening.
/// </remarks> /// </remarks>
/// <example> /// <example>
/// The following example gets 5 message prior to a specific message, <c>oldMessage</c>.
/// <para>The following example gets 5 message prior to a specific message, <c>oldMessage</c>.</para>
/// <code language="cs" region="GetMessagesAsync.FromMessage" /// <code language="cs" region="GetMessagesAsync.FromMessage"
/// source="..\..\..\Discord.Net.Examples\Core\Entities\Channels\IMessageChannel.Examples.cs" /> /// source="..\..\..\Discord.Net.Examples\Core\Entities\Channels\IMessageChannel.Examples.cs" />
/// </example> /// </example>
@@ -253,7 +253,7 @@ namespace Discord
/// object is disposed. /// object is disposed.
/// </summary> /// </summary>
/// <example> /// <example>
/// The following example keeps the client in the typing state until <c>LongRunningAsync</c> has finished.
/// <para>The following example keeps the client in the typing state until <c>LongRunningAsync</c> has finished.</para>
/// <code language="cs" region="EnterTypingState" /// <code language="cs" region="EnterTypingState"
/// source="..\..\..\Discord.Net.Examples\Core\Entities\Channels\IMessageChannel.Examples.cs" /> /// source="..\..\..\Discord.Net.Examples\Core\Entities\Channels\IMessageChannel.Examples.cs" />
/// </example> /// </example>


Loading…
Cancel
Save