mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
docs(MessageManager): Update example for fetchPinned (#4785)
Example showed the method for channel and not messageManager
This commit is contained in:
parent
77b6a7d5bd
commit
8ac25d37d9
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class MessageManager extends BaseManager {
|
|||
* @returns {Promise<Collection<Snowflake, Message>>}
|
||||
* @example
|
||||
* // Get pinned messages
|
||||
* channel.fetchPinned()
|
||||
* channel.messages.fetchPinned()
|
||||
* .then(messages => console.log(`Received ${messages.size} messages`))
|
||||
* .catch(console.error);
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue