diff options
-rw-r--r-- | bot/exts/fun/uwu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/fun/uwu.py b/bot/exts/fun/uwu.py index a0b664e9..998fd40f 100644 --- a/bot/exts/fun/uwu.py +++ b/bot/exts/fun/uwu.py @@ -90,7 +90,7 @@ class Uwu(Cog): """Replaces some punctuation with emoticons.""" return REGEX_PUNCTUATION.sub(partial(self._emoji_replace, strength=strength), input_string, 0) - def _emoji_replace(self, match: Callable, strength: float = 0.0) -> str: + def _emoji_replace(self, match: re.Match, strength: float = 0.0) -> str: """Replaces a punctuation character with an emoticon.""" match_string = match.string[slice(*match.span())] if random.random() < strength: |