Browse Source

Corrections to SocketTextChannel

pull/1161/head
Casino Boyale 7 years ago
parent
commit
4b18759e7d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.WebSocket/Entities/Channels/SocketTextChannel.cs

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

@@ -96,7 +96,7 @@ namespace Discord.WebSocket
/// <param name="limit">The number of messages you want to get.</param>
/// <param name="options">The options to be used when sending the request.</param>
/// <returns>
/// An awaitable <see cref="Task"/>.
/// An awaitable <see cref="Task"/> containing an <see cref="IReadOnlyCollection{IMessage}"/>.
/// </returns>
public IAsyncEnumerable<IReadOnlyCollection<IMessage>> GetMessagesAsync(int limit = DiscordConfig.MaxMessagesPerBatch, RequestOptions options = null)
=> SocketChannelHelper.GetMessagesAsync(this, Discord, _messages, null, Direction.Before, limit, CacheMode.AllowDownload, options);


Loading…
Cancel
Save