summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/main.py b/main.py
index 63d44d8..d071350 100644
--- a/main.py
+++ b/main.py
@@ -57,6 +57,24 @@ async def on_ready():
name="alpha.vainsocial.com"))
+@bot.command()
+async def about():
+ """Print invite links."""
+ emb = discord.Embed(
+ title="Vainsocial Discord bot",
+ description="Built by the Vainsocial development team using the MadGlory API."
+ )
+ emb.add_field(name="Website",
+ value="https://alpha.vainsocial.com")
+ emb.add_field(name="Bot invite link",
+ value="https://discordapp.com/oauth2/authorize?&client_id=287297889024213003&scope=bot")
+ emb.add_field(name="Developer Discord",
+ value="https://discord.gg/txTchJY")
+ emb.add_field(name="Twitter",
+ value="https://twitter.com/vainsocial")
+ await bot.say(embed=emb)
+
+
@bot.command(aliases=["v", "vain"])
async def vainsocial(name: str, region: str = None):
"""Retrieves a player's stats."""