1
0
Fork 0
mirror of synced 2024-09-29 08:51:53 +13:00

Changed the formatting so that the url can be clicked

This commit is contained in:
Phxntxm 2016-08-15 15:45:02 -05:00
parent 121e13e623
commit a8102cd9f8

View file

@ -30,7 +30,7 @@ class Links:
snippet = re.sub('<span class=\\"searchmatch\\">','', snippet)
snippet = re.sub('</span>','',snippet)
snippet = re.sub('&quot;','"',snippet)
await self.bot.say("Here is the best match I found with the query `{}`:\n```\nURL: {}\nSnippet: {}```".format(query, url, snippet))
await self.bot.say("Here is the best match I found with the query `{}`:\nURL: {}```\nSnippet: {}```".format(query, url, snippet))
@commands.command()
@checks.custom_perms(send_messages=True)