mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 12:11:11 +00:00
Webpack build for branch master: 029efe5cb0
This commit is contained in:
parent
bee9c629b7
commit
71ab15635f
2 changed files with 2 additions and 2 deletions
|
|
@ -6347,7 +6347,7 @@ class Guild {
|
||||||
*/
|
*/
|
||||||
deleteEmoji(emoji) {
|
deleteEmoji(emoji) {
|
||||||
if (!(emoji instanceof Emoji)) emoji = this.emojis.get(emoji);
|
if (!(emoji instanceof Emoji)) emoji = this.emojis.get(emoji);
|
||||||
return this.client.api.guilds(this.id).emojis(this.id).delete()
|
return this.client.api.guilds(this.id).emojis(emoji.id).delete()
|
||||||
.then(() => this.client.actions.GuildEmojiDelete.handle(emoji).data);
|
.then(() => this.client.actions.GuildEmojiDelete.handle(emoji).data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
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