Skip to content

Commit 4594896

Browse files
authored
docs(ApplicationEmojiManager): fix fetch example (#10480)
* docs(ApplicationEmojiManager): fix fetch example * docs: requested changes
1 parent a11ff75 commit 4594896

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/discord.js/src/managers/ApplicationEmojiManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ class ApplicationEmojiManager extends CachedManager {
6565
* @returns {Promise<ApplicationEmoji|Collection<Snowflake, ApplicationEmoji>>}
6666
* @example
6767
* // Fetch all emojis from the application
68-
* message.application.emojis.fetch()
68+
* application.emojis.fetch()
6969
* .then(emojis => console.log(`There are ${emojis.size} emojis.`))
7070
* .catch(console.error);
7171
* @example
7272
* // Fetch a single emoji
73-
* message.application.emojis.fetch('222078108977594368')
73+
* application.emojis.fetch('222078108977594368')
7474
* .then(emoji => console.log(`The emoji name is: ${emoji.name}`))
7575
* .catch(console.error);
7676
*/

0 commit comments

Comments
 (0)