diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-16 17:30:30 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-16 17:30:30 +0100 |
| commit | d282889421d6ca62837201597df97dbfa1fe786d (patch) | |
| tree | df5cac68de6083c710f6acf162ba33ae421519f2 | |
| parent | e66f60fb9f2c0cdeb023feba23ac4f99a9405e01 (diff) | |
| download | discordbot-d282889421d6ca62837201597df97dbfa1fe786d.tar.gz discordbot-d282889421d6ca62837201597df97dbfa1fe786d.zip | |
point to release, not alpha.vs.com
| -rw-r--r-- | main.py | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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,7 +65,7 @@ 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="https://alpha.vainsocial.com/?src=discordbot") + value="https://vainsocial.com/?src=discordbot") emb.add_field(name="Bot invite link", value="https://discordapp.com/oauth2/authorize?&client_id=287297889024213003&scope=bot") emb.add_field(name="Developer Discord", @@ -120,19 +120,19 @@ async def vainsocial(name: str, region: str = None): emb = discord.Embed( title="%(name)s" % data, - url="https://alpha.vainsocial.com/players/%(shard_id)s/%(name)s/?src=discordbot" % data + url="https://vainsocial.com/players/%(shard_id)s/%(name)s/?src=discordbot" % 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" + - "https://alpha.vainsocial.com/players/%(shard_id)s/%(name)s/?src=discordbot") % data) + "https://vainsocial.com/players/%(shard_id)s/%(name)s/?src=discordbot") % data) emb.add_field(name="Last match", value=("%(result)s %(mode)s as %(hero)s %(kills)i/%(deaths)i/%(assists)i\n" + - "https://alpha.vainsocial.com/matches/%(match_api_id)s/?src=discordbot") % data) + "https://vainsocial.com/matches/%(match_api_id)s/?src=discordbot") % 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: |
