diff options
| author | 2021-10-09 20:01:07 +0300 | |
|---|---|---|
| committer | 2021-10-09 20:01:07 +0300 | |
| commit | 529a65485140994e08415365e705066da9cba630 (patch) | |
| tree | 8c11898afa29f8678cd579eab3ae576d78408fea | |
| parent | Update bot/exts/fun/uwu.py (diff) | |
Update bot/exts/fun/uwu.py
Co-authored-by: Bluenix <[email protected]>
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/fun/uwu.py | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/bot/exts/fun/uwu.py b/bot/exts/fun/uwu.py index 3608096c..a0b664e9 100644 --- a/bot/exts/fun/uwu.py +++ b/bot/exts/fun/uwu.py @@ -79,8 +79,7 @@ class Uwu(Cog):          """Replaces a single character with a stuttered character."""          match_string = match.string[slice(*match.span())]          if random.random() < strength: -            char = match_string[-1] -            return f"{match_string}-{char}" +            return f"{match_string}-{match_string[-1]}"  # Stutter the last character          return match_string      def _nyaify(self, input_string: str) -> str: | 
