smile v0.1.0 Smile

Module for converting mapped emojis to real emojis slack-like emoji conversions.

Summary

Functions

Converts mapping to emoji, eg “:face_with_ok_gesture:” to 🙆, returns original text when emoji not found, helper function for convert_text

Converts name to emoji, eg “face_with_ok_gesture” to 🙆, with fallback returning original value if emoji not found

Converts text in a way that it replaces mapped emojis to real emojis

Functions

convert_mapping_to_emoji(mapping)

Converts mapping to emoji, eg “:face_with_ok_gesture:” to 🙆, returns original text when emoji not found, helper function for convert_text.

convert_name_to_emoji(text)

Converts name to emoji, eg “face_with_ok_gesture” to 🙆, with fallback returning original value if emoji not found.

convert_text(text)

Converts text in a way that it replaces mapped emojis to real emojis.