mirror of
https://github.com/danbulant/discord.js
synced 2026-07-09 13:10:42 +00:00
Webpack build for branch master: e0cbf0bb60
This commit is contained in:
parent
664cbd66f5
commit
d674273c37
2 changed files with 10 additions and 1 deletions
|
|
@ -4568,6 +4568,15 @@ class GuildEmoji extends Emoji {
|
||||||
return new Date(this.createdTimestamp);
|
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.
|
* Data for editing an emoji.
|
||||||
* @typedef {Object} GuildEmojiEditData
|
* @typedef {Object} GuildEmojiEditData
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue