Browse Source

make sure upper case characters dont break emojify command.

3.0
Roxie Gibson 5 years ago
parent
commit
b96f076c82
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      roxbot/cogs/wordplay.py

+ 1
- 1
roxbot/cogs/wordplay.py View File

@@ -108,7 +108,7 @@ class Fun(commands.Cog):
# Make "Hello World" be emoji.
;emojify Hello World
"""
old_string = list(text)
old_string = list(text.lower())
new_string = ""
for char in old_string:
if char == " ":

Loading…
Cancel
Save