diff --git a/exts/imports/utils.py b/exts/imports/utils.py index ace473b..cb067fe 100644 --- a/exts/imports/utils.py +++ b/exts/imports/utils.py @@ -91,3 +91,5 @@ async def run_command(args): stdout, stderr = await process.communicate() # Return stdout return stdout.decode().strip() + +# TODO Add Paginator diff --git a/exts/utils.py b/exts/utils.py index 38525c5..43e0881 100644 --- a/exts/utils.py +++ b/exts/utils.py @@ -501,6 +501,7 @@ class Utils: em.title = f'Google Search' em.description = f'Top 4 results for "{search}"' em.colour = embed_color + # TODO Fix layout of Results for result in results: em.add_field(name=f'{result["title"]}', value=f'{result["snippet"]}\n{result["link"]}') 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]}') await ctx.send(embed=em) +# TODO Create Help command + def setup(bot): bot.add_cog(Utils(bot))