summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-03-16 20:15:18 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-03-16 20:15:18 +0100
commit40d8e60a5dc4017289e3eeee453a6da9e737e87f (patch)
tree242c9bc61775b1deaecf2778361163afdc8eacd9
parente66f60fb9f2c0cdeb023feba23ac4f99a9405e01 (diff)
downloaddiscordbot-40d8e60a5dc4017289e3eeee453a6da9e737e87f.tar.gz
discordbot-40d8e60a5dc4017289e3eeee453a6da9e737e87f.zip
update tracking params
-rw-r--r--main.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.py b/main.py
index adada9d..c8c5576 100644
--- a/main.py
+++ b/main.py
@@ -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://alpha.vainsocial.com/?utm_source=discord&utm_medium=vainsocial")
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,16 +120,16 @@ 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://alpha.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")
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://alpha.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" +
- "https://alpha.vainsocial.com/matches/%(match_api_id)s/?src=discordbot") % data)
+ "https://alpha.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)