diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-15 16:06:15 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-15 16:06:15 +0100 |
| commit | d10b8e4df90e1324be7cd31aa7654f3572d54cb9 (patch) | |
| tree | 4c8825f6a442962524cae8a1fd8d00502ead5c7c | |
| parent | a134ef3c7367269a1baafca86b1b69acdc06587b (diff) | |
| download | discordbot-d10b8e4df90e1324be7cd31aa7654f3572d54cb9.tar.gz discordbot-d10b8e4df90e1324be7cd31aa7654f3572d54cb9.zip | |
add about command
| -rw-r--r-- | main.py | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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.""" |
