Webpack build for branch master: ba7c2db364

This commit is contained in:
Travis CI 2017-01-24 21:57:28 +00:00
parent b5096347b8
commit 73ba373414
2 changed files with 3 additions and 3 deletions

View file

@ -22770,12 +22770,12 @@ class RESTMethods {
createEmoji(guild, image, name) {
return this.rest.makeRequest('post', `${Constants.Endpoints.guildEmojis(guild.id)}`, true, { name, image })
.then(data => this.client.actions.EmojiCreate.handle(data, guild).emoji);
.then(data => this.client.actions.GuildEmojiCreate.handle(data, guild).emoji);
}
deleteEmoji(emoji) {
return this.rest.makeRequest('delete', `${Constants.Endpoints.guildEmojis(emoji.guild.id)}/${emoji.id}`, true)
.then(() => this.client.actions.EmojiDelete.handle(emoji).data);
.then(() => this.client.actions.GuildEmojiDelete.handle(emoji).data);
}
getWebhook(id, token) {

File diff suppressed because one or more lines are too long