Webpack build for branch master: e0cbf0bb60

This commit is contained in:
Travis CI 2018-02-02 19:37:47 +00:00
parent 664cbd66f5
commit d674273c37
2 changed files with 10 additions and 1 deletions

View file

@ -4568,6 +4568,15 @@ class GuildEmoji extends Emoji {
return new Date(this.createdTimestamp);
}
/**
* Fetches the author for this emoji
* @returns {Promise<User>}
*/
fetchAuthor() {
return this.client.api.guilds(this.guild.id).emojis(this.id).get()
.then(emoji => this.client.users.add(emoji.user));
}
/**
* Data for editing an emoji.
* @typedef {Object} GuildEmojiEditData

File diff suppressed because one or more lines are too long