docs: inconsistencies

This commit is contained in:
Lewdcario
2018-04-20 21:10:21 -05:00
parent c9c2d66971
commit b8a9a76cf6
3 changed files with 11 additions and 15 deletions

View File

@@ -85,12 +85,12 @@ class GuildEmoji extends Emoji {
/**
* Edits the emoji.
* @param {Guild} data The new data for the emoji
* @param {GuildEmojiEditData} data The new data for the emoji
* @param {string} [reason] Reason for editing this emoji
* @returns {Promise<GuildEmoji>}
* @example
* // Edit an emoji
* emoji.edit({name: 'newemoji'})
* emoji.edit({ name: 'newemoji' })
* .then(e => console.log(`Edited emoji ${e}`))
* .catch(console.error);
*/