From 4bd72a160fc869b07201b120b7f26f715329c1c6 Mon Sep 17 00:00:00 2001 From: Myned Date: Sat, 21 Oct 2017 16:41:22 -0400 Subject: [PATCH] WIP endpoint command --- src/main/cogs/owner.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/cogs/owner.py b/src/main/cogs/owner.py index 19a9718..937ba17 100644 --- a/src/main/cogs/owner.py +++ b/src/main/cogs/owner.py @@ -212,3 +212,7 @@ class Tools: @debug.command(name='inspect', aliases=['ins']) async def _inspect(self, ctx, *, input_): pass + + # @commands.command(name='endpoint', aliases=['end']) + # async def get_endpoint(self, ctx, *args): + # await ctx.send(f'```\n{await u.fetch(f"https://{args[0]}/{args[1]}/{args[2]}", params={args[3]: args[4], "limit": 1}, json=True)}```')