From 1026d470619676da7bcb9fc35cdde57917ab19df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20=C3=81lvarez?= Date: Sat, 22 Jul 2017 09:10:41 +0200 Subject: [PATCH] format --- mythics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mythics.py b/mythics.py index 393a042..7407bfd 100755 --- a/mythics.py +++ b/mythics.py @@ -66,7 +66,7 @@ for zone, instance in conf.zones.items(): if key in clss: spec = conf.class_icons[key] #party.append("{2}{0}{1}".format(name, "" if "dun-modr" in url else " *({})*".format(url.split("/")[6]), roles[len(party)])) - party.append("{1}{0}".format(name if "dun-modr" in url else "*{}*".format(name), spec)) + party.append("{1} {0}".format(name if "dun-modr" in url else "*{}*".format(name), spec)) for member in members: if "/{}".format(member).lower() in url and "dun-modr" in url: @@ -87,7 +87,7 @@ for zone, instance in conf.zones.items(): msg = ":mega: **[{0}](<{5}>) +{1}** hecha en **{2}** {3}, **rank {4}** de Dun Modr".format(instance, lvl, record, tip, pos, warcraft_api.format(zone)) #r.rpush("bot:rss:new", msg) #print(msg) - wh.add_embed(webhook.embed(title=" ".join(party))) + wh.add_embed(webhook.embed(title=", ".join(party))) wh.send(msg) except: