-
-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom emoji #95
Comments
@gHashTag The "encrypted" values are actually hexadecimal numbers, each of which is assigned to a unicode value. For example, the unicode value of |
@Richienb Let's say I want to add leafy_green 🥬
How to do it right? function convert(emojiString, alias) {
let key = 'custom'
let value = ''
for (let i = 0; i < emojiString.length; i++) {
const code = emojiString[i].codePointAt(0).toString(16).padStart(4, 0)
key += '-' + code
value += '\\u' + code.toUpperCase()
}
console.log(`"${key}":[["${value}"],"","",["${alias}"]],`)
}
convert('🥬', 'leafy_green') |
Hi i am getting :waving_black_flag: when i add flag-england(🏴) or flag-scotland(🏴) or flag-wales(🏴) when i unemojify. Why 🏴 🏴 flags are not decoded even if their codes are mentioned in emojifile.js? |
Many icons are missing in the project. To add you need to follow these instructions.
How to understand what is encrypted here?
"0023-fe0f-20e3":[["\u0023\uFE0F\u20E3","\u0023\u20E3"],"\uE210","\uDBBA\uDC2C",["hash"],0,0,15,0],
I know that version 2 is planned, but now I need this library to work.
How do you encrypt these characters? Can you show one example?
garlic 🧄
moon_cake 🥮
salt 🧂
avocado 🥑
birthday cake 🎂
bagel 🍩
beverage_box 🧃
ice_cube 🧊
falafel 🧆
waffle 🧇
leafy_green 🥬
mate_drink 🧉
cupcake 🧁
butter 🧈
onion 🧅
The text was updated successfully, but these errors were encountered: