diff options
Diffstat (limited to '')
| -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 998fd40f..c83dea61 100644 --- a/bot/exts/fun/uwu.py +++ b/bot/exts/fun/uwu.py @@ -77,7 +77,7 @@ class Uwu(Cog):      def _stutter_replace(self, match: re.Match, strength: float = 0.0) -> str:          """Replaces a single character with a stuttered character.""" -        match_string = match.string[slice(*match.span())] +        match_string = match.group()          if random.random() < strength:              return f"{match_string}-{match_string[-1]}"  # Stutter the last character          return match_string | 
