mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
Was worth a shot
This commit is contained in:
@@ -180,9 +180,9 @@ class TextBasedChannel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a single message from this channel, regardless of it being cached or not.
|
* Gets a single message from this channel, regardless of it being cached or not. Since the single message fetching
|
||||||
* Since the single message fetching endpoint is reserved for bot accounts, this abstracts
|
* endpoint is reserved for bot accounts, this abstracts the `fetchMessages` method to obtain the single message when
|
||||||
* {@link #fetchMessages} to obtain the single message when using a user account.
|
* using a user account.
|
||||||
* @param {Snowflake} messageID ID of the message to get
|
* @param {Snowflake} messageID ID of the message to get
|
||||||
* @returns {Promise<Message>}
|
* @returns {Promise<Message>}
|
||||||
* @example
|
* @example
|
||||||
|
|||||||
Reference in New Issue
Block a user