From d10b8e4df90e1324be7cd31aa7654f3572d54cb9 Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 15 Mar 2017 16:06:15 +0100 Subject: add about command --- main.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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.""" -- cgit v1.3.1