diff options
| author | Vainsocial root <root@vainsocial> | 2017-03-24 18:17:35 +0000 |
|---|---|---|
| committer | Vainsocial root <root@vainsocial> | 2017-03-24 18:17:35 +0000 |
| commit | d9a4daf9070beb801b76799b615c4f7b0493abab (patch) | |
| tree | 7e748d5ca43435c9e958af83ceccb031b4bacc60 | |
| parent | 8adfdfe94e994821594678625fb3dd6cb31b9d98 (diff) | |
| download | discordbot-1.5.1.tar.gz discordbot-1.5.1.zip | |
use release url1.5.1
| -rw-r--r-- | main.py | 16 |
1 files changed, 8 insertions, 8 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,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: |
