feat: masked urls for !help

This commit is contained in:
John 2018-06-19 23:55:26 -04:00
parent a4e43aa9be
commit d28062ca4f

View File

@ -240,7 +240,7 @@ async def on_message(message):
await client.send_message(message.channel, help_methods.parse_message(message.content)) await client.send_message(message.channel, help_methods.parse_message(message.content))
else: else:
description = """Below you can see all the commands I know. description = """Below you can see all the commands I know.
If you need further help with something join our Support Server. \n If you need further help with something join our [Support Server](http://discordapp.com). \n
**Have a nice day!** **Have a nice day!**
COMMANDS COMMANDS
{} \n {} \n
@ -248,9 +248,9 @@ COMMANDS
**Examples:** **Examples:**
`!help dog` for detailed help for the dog command \n `!help dog` for detailed help for the dog command \n
**Useful links:** **Useful links:**
johnbest.me""".format(help_methods.parse_message(message.content)) [Support Server](http://discordapp.com), [Twitter](http://twitter.com)""".format(help_methods.parse_message(message.content))
embed = discord.Embed(title=None, description=description, color=0x428bca, type="rich") embed = discord.Embed(description=description, color=0x428bca, type="rich")
embed.set_author(name="Hello! I'm {}".format(client.user.name), icon_url=client.user.default_avatar_url) embed.set_author(name="Hello! I'm {}".format(client.user.name), icon_url=client.user.default_avatar_url)
await client.send_message(message.channel, embed=embed) await client.send_message(message.channel, embed=embed)