aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Ionite <[email protected]>2022-07-20 20:23:53 -0400
committerGravatar GitHub <[email protected]>2022-07-20 20:23:53 -0400
commitfff844278ffc2c831cafbe3452ef3f510899d818 (patch)
treec1399c52bb4233b57f47db0adbeee21750c21e5c
parentImproved REGEX Emoji match (diff)
Updated docstring for _ext_emoji_replace
Co-authored-by: ChrisJL <[email protected]>
-rw-r--r--bot/exts/fun/uwu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/fun/uwu.py b/bot/exts/fun/uwu.py
index 82ea6e40..81e81b36 100644
--- a/bot/exts/fun/uwu.py
+++ b/bot/exts/fun/uwu.py
@@ -127,7 +127,7 @@ class Uwu(Cog):
return match_string
def _ext_emoji_replace(self, input_string: str) -> str:
- """Replaces external emojis with emoticons."""
+ """Replaces any emoji the bot cannot send in input_text with a random emoticons."""
groups = REGEX_EMOJI.findall(input_string)
emojis = {Emoji.from_match(match) for match in groups}
# Replace with random emoticon if unable to display