Webpack build for branch master: 81d7dbdc76

This commit is contained in:
Travis CI 2017-04-12 16:16:18 +00:00
parent 3fcda6a1b8
commit 03048d4377
2 changed files with 2 additions and 2 deletions

View file

@ -11589,7 +11589,7 @@ class ClientDataResolver {
resolveEmojiIdentifier(emoji) {
if (emoji instanceof Emoji || emoji instanceof ReactionEmoji) return emoji.identifier;
if (typeof emoji === 'string') {
if (!isNaN(parseInt(emoji))) return this.client.emojis.get(emoji).identifier;
if (this.client.emojis.has(emoji)) return this.client.emojis.get(emoji).identifier;
else if (!emoji.includes('%')) return encodeURIComponent(emoji);
else return emoji;
}

File diff suppressed because one or more lines are too long