grammyjs / emoji

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

(Proper) Emojis + Skin toned emojis and a script to fetch #6

Closed dcdunkan closed 2 years ago

dcdunkan commented 2 years ago

EmojiPedia has confirmed that Telegram uses Apple emojis. So, I tried scraping the site, and they have skin toned emojis too. I have made a JSON and a TS file which exports emoji object as default. The TS file has has simple JSDoc comments, in the format "😀 Grinning Face" as @KnorpelSenf suggested here. I am not sure about which file to use for the plugin. It contains 3961 emojis at the moment.

I have made a script to scrape them. Also, I don't think it can be used forever. And it's scraping, it takes a lot of time. Around ~20+ minutes. And the script could be much much faster.

dcdunkan commented 2 years ago

If you don't mind, it would be nice to store this code in a separate repository, with proper build instructions and so on.

I'll do it and update the PR.

dcdunkan commented 2 years ago

I am doing a final test and then I'll push the script to dcdunkan/emoji-scraper (Currently empty, I'll leave a comment when it's done). I have deleted the fetching script from the PR, so I think you can merge it now.

andrrms commented 2 years ago

I am doing a final test and then I'll push the script to dcdunkan/emoji-scraper (Currently empty, I'll leave a comment when it's done). I have deleted the fetching script from the PR, so I think you can merge it now.

Merging rn. Just a suggestion, would be nice too if you compile scripts into an .exe file and bundles it into releases alongside code.

Closes #3, closes #4

dcdunkan commented 2 years ago

@AndreoliBR I have pushed the fetching script to my repo and released it. Just leaving the link here: https://github.com/dcdunkan/emoji-scraper