diff options
| -rw-r--r-- | bot/exts/fun/uwu.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/fun/uwu.py b/bot/exts/fun/uwu.py index 46e8dd62..4ad19c82 100644 --- a/bot/exts/fun/uwu.py +++ b/bot/exts/fun/uwu.py @@ -63,8 +63,8 @@ class Uwu(Cog): def _word_replace(self, input_string: str) -> str: """Replaces words that are keys in the word replacement hash to the values specified.""" - for word in WORD_REPLACE_HASH: - input_string = input_string.replace(word, WORD_REPLACE_HASH[word]) + for word, replacement in WORD_REPLACE_HASH.items(): + input_string = input_string.replace(word, replacement) return input_string def _char_replace(self, input_string: str) -> str: |