grammyjs / emoji

Helpers for sending emojis.
https://grammy.dev/plugins/emoji
MIT License
9 stars 2 forks source link

Add support for skin-toned emojis #4

Closed andrrms closed 2 years ago

andrrms commented 2 years ago

This plugin MUST support skin-toned emojis (πŸ‘πŸ‘πŸ»πŸ‘πŸΌπŸ‘πŸ½πŸ‘πŸΎπŸ‘πŸΏ) since they're a fundamental part of Unicode emojis.

Quick thoughts:

andrrms commented 2 years ago

With further investigation, I discovered that it is possible to have emoji modifiers to change it's skin tones. Tone modifier goes from range U+1F3FB to U+1F3FF. The next step now is to split emojis list into two lists, emojis.json and skin-emojis.json. That way, it is possible to apply modifiers in a simple way.