mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Fix emoji case
This commit is contained in:
parent
785178117d
commit
3f66f9d84f
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ emojis = {
|
|||
}
|
||||
|
||||
def emojify(string: str):
|
||||
new_string = string
|
||||
new_string = string.lower()
|
||||
for key in emojis:
|
||||
selected_emoji = random.sample(emojis[key], 1)[0]
|
||||
new_string = new_string.replace(key, selected_emoji)
|
||||
|
|
Loading…
Reference in a new issue