(unicode)
| 922 | } |
| 923 | |
| 924 | function getEmoji(unicode) { |
| 925 | return unicode.split('-').map(code => String.fromCodePoint(parseInt(code, 16))).join('') |
| 926 | } |
| 927 | |
| 928 | function replaceEmoji(text) { |
| 929 | return text.replace(/:([a-z0-9+\-_]+):/gi, (match, key) => { |