Added TODOs
This commit is contained in:
parent
76574f94a7
commit
61f632a359
@ -91,3 +91,5 @@ async def run_command(args):
|
|||||||
stdout, stderr = await process.communicate()
|
stdout, stderr = await process.communicate()
|
||||||
# Return stdout
|
# Return stdout
|
||||||
return stdout.decode().strip()
|
return stdout.decode().strip()
|
||||||
|
|
||||||
|
# TODO Add Paginator
|
||||||
|
|||||||
@ -501,6 +501,7 @@ class Utils:
|
|||||||
em.title = f'Google Search'
|
em.title = f'Google Search'
|
||||||
em.description = f'Top 4 results for "{search}"'
|
em.description = f'Top 4 results for "{search}"'
|
||||||
em.colour = embed_color
|
em.colour = embed_color
|
||||||
|
# TODO Fix layout of Results
|
||||||
for result in results:
|
for result in results:
|
||||||
em.add_field(name=f'{result["title"]}', value=f'{result["snippet"]}\n{result["link"]}')
|
em.add_field(name=f'{result["title"]}', value=f'{result["snippet"]}\n{result["link"]}')
|
||||||
await ctx.send(embed=em)
|
await ctx.send(embed=em)
|
||||||
@ -530,6 +531,8 @@ class Utils:
|
|||||||
value=f'Steam ID: {steam[i]}\nPatreon Level: {tier[i]}\nPatron of: {patron[i]}')
|
value=f'Steam ID: {steam[i]}\nPatreon Level: {tier[i]}\nPatron of: {patron[i]}')
|
||||||
await ctx.send(embed=em)
|
await ctx.send(embed=em)
|
||||||
|
|
||||||
|
# TODO Create Help command
|
||||||
|
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
bot.add_cog(Utils(bot))
|
bot.add_cog(Utils(bot))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user