api-docs: Update comment on getMessages (#4306)

This commit is contained in:
Fleny
2025-08-11 18:55:41 +02:00
committed by GitHub
parent f6ea699dfe
commit 09d2697d37

View File

@@ -1982,7 +1982,7 @@ export interface RestManager {
*
* @param channelId - The ID of the channel from which to get the messages.
* @param options - The parameters for the fetching of the messages.
* @returns A collection of {@link DiscordMessage} objects assorted by message ID.
* @returns Returns an array of {@link DiscordMessage} objects from newest to oldest on success.
*
* @remarks
* Requires that the bot user be able to see the contents of the channel in which the messages were posted.