diff --git a/src/Discord.Net.WebSocket/Entities/Channels/SocketDMChannel.cs b/src/Discord.Net.WebSocket/Entities/Channels/SocketDMChannel.cs index f76ce46c0..c0a042669 100644 --- a/src/Discord.Net.WebSocket/Entities/Channels/SocketDMChannel.cs +++ b/src/Discord.Net.WebSocket/Entities/Channels/SocketDMChannel.cs @@ -55,12 +55,12 @@ namespace Discord.WebSocket public SocketMessage GetCachedMessage(ulong id) => _messages?.Get(id); /// - /// Gets the message associated with the passed . + /// Gets the message associated with the given . /// - /// The snowflake identifier of the message you want to retrieve. + /// TThe ID of the message. /// The options to be used when sending the request. /// - /// An awaitable containing an . + /// The message gotten from either the cache or the download, or null if none is found. /// public async Task GetMessageAsync(ulong id, RequestOptions options = null) { @@ -71,12 +71,13 @@ namespace Discord.WebSocket } /// - /// Gets a nested collection of messages. + /// Gets the last N messages from this channel. /// - /// The number of messages you want to get. + /// The number of messages to get. /// The options to be used when sending the request. /// - /// An awaitable containing an . + /// Paged collection of messages. Flattening the paginated response into a collection of messages with + /// is required if you wish to access the messages. /// public IAsyncEnumerable> GetMessagesAsync(int limit = DiscordConfig.MaxMessagesPerBatch, RequestOptions options = null) => SocketChannelHelper.GetMessagesAsync(this, Discord, _messages, null, Direction.Before, limit, CacheMode.AllowDownload, options);