Webpack build for branch master: ecb8424f52

This commit is contained in:
Travis CI 2017-06-12 15:29:33 +00:00
parent e4b05757b6
commit 5f7c647235
2 changed files with 2 additions and 2 deletions

View file

@ -6305,7 +6305,7 @@ class Guild {
* .catch(console.error);
*/
createEmoji(attachment, name, roles) {
if (typeof attahment === 'string' && attachment.startsWith('data:')) {
if (typeof attachment === 'string' && attachment.startsWith('data:')) {
const data = { image: attachment, name };
if (roles) data.roles = roles.map(r => r.id ? r.id : r);
return this.client.api.guilds(this.id).emojis.post({ data })

File diff suppressed because one or more lines are too long