Webpack build for branch master: 029efe5cb0

This commit is contained in:
Travis CI 2017-06-28 17:20:02 +00:00
parent bee9c629b7
commit 71ab15635f
2 changed files with 2 additions and 2 deletions

View file

@ -6347,7 +6347,7 @@ class Guild {
*/
deleteEmoji(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);
}

File diff suppressed because one or more lines are too long