diff options
| author | 2025-03-27 22:00:24 -0500 | |
|---|---|---|
| committer | 2025-03-28 03:00:24 +0000 | |
| commit | f3b80006af9f6c7afec19f635ae3ab67f029ef77 (patch) | |
| tree | 9b9b899fffdee888b9476500e5d9583f03b8df3d | |
| parent | Bump pydis-core from 11.5.0 to 11.6.0 (#1648) (diff) | |
Fix emoji replacement in UwU cog (#1634)
* better emojis replacement
* Update uwu.py
Hot fix: wrong function call typo.
* Update emoji raw text to normal emojis.
| -rw-r--r-- | bot/exts/fun/uwu.py | 23 | 
1 files changed, 12 insertions, 11 deletions
| diff --git a/bot/exts/fun/uwu.py b/bot/exts/fun/uwu.py index f871aaec..0da17f91 100644 --- a/bot/exts/fun/uwu.py +++ b/bot/exts/fun/uwu.py @@ -45,17 +45,18 @@ EMOJIS = [  ]  EMOJI_REPLACE = { -    ":neutral_face:": ":cat:", -    ":cry:": ":crying_cat_face:", -    ":heart_eyes:": ":heart_eyes_cat:", -    ":joy:": ":joy_cat:", -    ":kissing:": ":kissing_cat:", -    ":angry:": ":pouting_cat:", -    ":scream:": ":scream_cat:", -    ":laughing:": ":smile_cat:", -    ":grinning:": ":smiley_cat:", -    ":smirk:": ":smirk_cat:", -    ":pleading_face:": ":pleading_face::point_right::point_left:" +    "😐": ":cat:", +    "😢": ":crying_cat_face:", +    "😍": ":heart_eyes_cat:", +    "😂": ":joy_cat:", +    "😗": ":kissing_cat:", +    "😠": ":pouting_cat:", +    "😱": ":scream_cat:", +    "😆": ":smile_cat:", +    "🙂": ":smiley_cat:", +    "😀": ":smiley_cat:", +    "😏": ":smirk_cat:", +    "🥺": ":pleading_face::point_right::point_left:"  }  REGEX_WORD_REPLACE = re.compile(r"(?<!w)[lr](?!w)") | 
