Skip to content

Commit

Permalink
docs(GuildStickerManager): fix create() example (#7060)
Browse files Browse the repository at this point in the history
  • Loading branch information
SethCohen committed Dec 7, 2021
1 parent 5ec542d commit 6f58e81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/managers/GuildStickerManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ class GuildStickerManager extends CachedManager {
* @returns {Promise<Sticker>} The created sticker
* @example
* // Create a new sticker from a URL
* guild.stickers.create('https://i.imgur.com/w3duR07.png', 'rip', '🪦')
* guild.stickers.create('https://i.imgur.com/w3duR07.png', 'rip', 'headstone')
* .then(sticker => console.log(`Created new sticker with name ${sticker.name}!`))
* .catch(console.error);
* @example
* // Create a new sticker from a file on your computer
* guild.stickers.create('./memes/banana.png', 'banana', '🍌')
* guild.stickers.create('./memes/banana.png', 'banana', 'banana')
* .then(sticker => console.log(`Created new sticker with name ${sticker.name}!`))
* .catch(console.error);
*/
Expand Down

0 comments on commit 6f58e81

Please sign in to comment.