1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Una cosina, per farlo crashare meno.

This commit is contained in:
Steffo 2015-12-21 16:52:06 +01:00
parent e9206c8d95
commit 0ac5ba0d6a

1
bot.py
View file

@ -233,6 +233,7 @@ while True:
if 'flavor' not in r: if 'flavor' not in r:
r['flavor'] = "Nessuna descrizione." r['flavor'] = "Nessuna descrizione."
# Testo principale # Testo principale
text = None
if r['type'] == "Spell": if r['type'] == "Spell":
text = str("[" + r['name'] + "](" + r['img'] + ") " text = str("[" + r['name'] + "](" + r['img'] + ") "
"(" + r['rarity'] + ")\n" + "(" + r['rarity'] + ")\n" +