grammyjs / emoji

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

Add new emoji file #2

Closed KnorpelSenf closed 2 years ago

KnorpelSenf commented 2 years ago

I created this emoji file a long time ago when I had the idea for the plugin.

I think it is the most comprehensive set of emoji I could find when I did some research. Then again, it was created in October, so maybe new emoji were added since then.

You may need to perform some further processing to make it useful, such as converting the unicode points to the actual emoji strings. Or maybe this file isn't useful at all. You can decide what do to with it.

Either way, I wanted to upload it somewhere in case it becomes useful in the future.

andrrms commented 2 years ago

I grabbed the actual emojis.json from a outdated and no longer maintained repo. A file that big, with no versioning info, is hard to track and maintain.

Unicode has a official website with all emoji releases. It does have too a .txt, useful when accordingly treated.

Possible solution: Maybe I should write a script to convert it into a new emoji.json file? This PR file is in good molds to be used. Later on coding this will be decided, but let's keep this draft as is for now.