mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
HTML sistemato
This commit is contained in:
parent
9ba0bb62eb
commit
ada9a4064a
1 changed files with 5 additions and 5 deletions
10
bot.py
10
bot.py
|
@ -222,11 +222,11 @@ while True:
|
|||
if 'text' not in r:
|
||||
r['text'] = ""
|
||||
# HTML nella descrizione
|
||||
r['text'].replace("<b>", "*")
|
||||
r['text'].replace("</b>", "*")
|
||||
r['text'].replace("<i>", "_")
|
||||
r['text'].replace("</i>", "_")
|
||||
r['text'].replace("$", "")
|
||||
r['text'] = r['text'].replace("<b>", "*")
|
||||
r['text'] = r['text'].replace("</b>", "*")
|
||||
r['text'] = r['text'].replace("<i>", "_")
|
||||
r['text'] = r['text'].replace("</i>", "_")
|
||||
r['text'] = r['text'].replace("$", "")
|
||||
# Nessuna rarità
|
||||
if 'rarity' not in r:
|
||||
r['rarity'] = "None"
|
||||
|
|
Loading…
Reference in a new issue