mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
Some basic formatting changes
This commit is contained in:
parent
fe9df26a68
commit
b44c53f114
1 changed files with 3 additions and 3 deletions
|
@ -312,7 +312,7 @@ class Search(commands.Cog):
|
||||||
resp["list"])) + f" results were found. To see a different result, use {ctx.prefix}ud {query} | {number}.")
|
resp["list"])) + f" results were found. To see a different result, use {ctx.prefix}ud {query} | {number}.")
|
||||||
try:
|
try:
|
||||||
|
|
||||||
await ctx.send(f"{top_result['word']}: {top_result['permalink']}", embed=embed)
|
await ctx.send(f"**{top_result['word']}** - <{top_result['permalink']}>", embed=embed)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
await ctx.send(top_result["definition"])
|
await ctx.send(top_result["definition"])
|
||||||
|
@ -363,7 +363,7 @@ class Search(commands.Cog):
|
||||||
text=f"Requested by {ctx.author.name} | Powered by kitsu.io", icon_url=ctx.author.avatar_url_as(format="png"))
|
text=f"Requested by {ctx.author.name} | Powered by kitsu.io", icon_url=ctx.author.avatar_url_as(format="png"))
|
||||||
try:
|
try:
|
||||||
|
|
||||||
await ctx.send(f"{title}: <{url}>", embed=embed)
|
await ctx.send(f"**{title}** - <{url}>", embed=embed)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
||||||
|
@ -429,7 +429,7 @@ Powered by kitsu.io"""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
||||||
await ctx.send(f"{title}: <{url}>", embed=embed)
|
await ctx.send(f"**{title}** - <{url}>", embed=embed)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue