It works by taking your prompt and generating an emoji using https://replicate.com/fofr/sdxl-emoji. Next, I remove the background using https://replicate.com/cjwbw/rembg. Then, click to download and add to slack!
It's all open-source, code is here: https://github.com/cbh123/emoji
Let me know if you have any questions!