From d9a4daf9070beb801b76799b615c4f7b0493abab Mon Sep 17 00:00:00 2001 From: Vainsocial root Date: Fri, 24 Mar 2017 18:17:35 +0000 Subject: use release url --- main.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/main.py b/main.py index 95f83d1..5f0e076 100644 --- a/main.py +++ b/main.py @@ -54,7 +54,7 @@ async def on_ready(): await connect(source_db, dest_db) await bot.change_presence( game=discord.Game( - name="alpha.vainsocial.com")) + name="vainsocial.com")) @bot.command() @@ -65,11 +65,11 @@ async def about(): description="Built by the Vainsocial development team using the MadGlory API. Currently running on %i servers." % (len(bot.servers),) ) emb.add_field(name="Website", - value="[vainsocial.com](https://alpha.vainsocial.com/?utm_source=discord&utm_medium=vainsocial)") + value="[vainsocial.com](https://vainsocial.com/?utm_source=discord&utm_medium=vainsocial)") emb.add_field(name="Bot invite link", value="[discordapp.com](https://discordapp.com/oauth2/authorize?&client_id=287297889024213003&scope=bot)") emb.add_field(name="Developer Discord", - value="[txTchJY](https://discord.gg/txTchJY)") + value="[discord.me/vainsocial](https://discord.me/vainsocial)") emb.add_field(name="Twitter", value="[twitter/vainsocial](https://twitter.com/vainsocial)") await bot.say(embed=emb) @@ -121,19 +121,19 @@ async def vainsocial(name: str, region: str = None): emb = discord.Embed( title="%(name)s (%(shard_id)s)" % data, description="Last match registered (GMT): %(last_match_created_date)s" % data, - url="https://alpha.vainsocial.com/players/%(shard_id)s/%(name)s/?utm_source=discord&utm_medium=vainsocial" % data + url="https://vainsocial.com/players/%(shard_id)s/%(name)s/?utm_source=discord&utm_medium=vainsocial" % data ) emb.set_author(name="Vainsocial", - url="https://alpha.vainsocial.com") + url="https://vainsocial.com") emb.add_field(name="Profile", value=("%(wins)i wins / %(played)i games\n" + - "[View on vainsocial.com](https://alpha.vainsocial.com/players/%(shard_id)s/%(name)s/?utm_source=discord&utm_medium=vainsocial)") % data) + "[View on vainsocial.com](https://vainsocial.com/players/%(shard_id)s/%(name)s/?utm_source=discord&utm_medium=vainsocial)") % data) emb.add_field(name="Last match", value=("%(result)s %(mode)s as %(hero)s %(kills)i/%(deaths)i/%(assists)i\n" + - "[View on vainsocial.com](https://alpha.vainsocial.com/matches/%(match_api_id)s/?utm_source=discord&utm_medium=vainsocial)") % data) + "[View on vainsocial.com](https://vainsocial.com/matches/%(match_api_id)s/?utm_source=discord&utm_medium=vainsocial)") % data) emb.set_footer(text="Vainsocial - Vainglory social stats service") - emb.set_thumbnail(url="https://alpha.vainsocial.com/images/game/skill_tiers/%(skill_tier)s.png" % data) + emb.set_thumbnail(url="https://vainsocial.com/images/game/skill_tiers/%(skill_tier)s.png" % data) return emb async with pool.acquire() as con: -- cgit v1.3.1