Ver código fonte

Extend the emoji shortcode map

Paul Klumpp 1 semana atrás
pai
commit
6c53675ae7
1 arquivos alterados com 9 adições e 3 exclusões
  1. 9 3
      platform_config.py

+ 9 - 3
platform_config.py

@@ -82,8 +82,6 @@ class ChattoConstants:
     # HTTP timeout used for outbound URL fetches
     HTTP_TIMEOUT = 30
 
-    # Emoji shortcode mapping (Chatto uses shortcode names, not unicode emoji)
-
     # Emoji shortcode mapping (Chatto uses shortcode names, not unicode emoji)
     EMOJI_TO_SHORTCODE: Dict[str, str] = {
         "👍": "thumbsup",
@@ -99,12 +97,20 @@ class ChattoConstants:
         "🚀": "rocket",
         "🔥": "fire",
         "💯": "100",
-        "🤔": "thinking",
+        "🤔": "thinking_face",
         "👏": "clap",
         "🙏": "pray",
         "😅": "sweat_smile",
         "😴": "sleeping",
         "⏳": "hourglass",
+        "💭": "thought_balloon",
+        "👓": "glasses",
+        "👁️‍🗨️": "eye_in_speech_bubble",
+        "💬": "speech_balloon",
+        "🗨️": "left_speech_bubble",
+        "🗯️": "right_anger_bubble",
+        "🦾": "mechanical_arm",
+        "🦿": "mechanical_leg",
     }
 
     # Chunk size for asset uploads (256 KB)