diff options
| author | 2021-10-09 20:00:39 +0300 | |
|---|---|---|
| committer | 2021-10-09 20:00:39 +0300 | |
| commit | a5dbafa82b2a632dbeb0428255ff8b0fb6a9f69a (patch) | |
| tree | 7612b4dc2e42ba649b7c53997bd94c0dfe28018f | |
| parent | Reverting accidental revert. (diff) | |
Update bot/exts/fun/uwu.py
Co-authored-by: Bluenix <[email protected]>
| -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: |