mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 06:37:29 +00:00
WIP endpoint command
This commit is contained in:
parent
3c09863a60
commit
4bd72a160f
1 changed files with 4 additions and 0 deletions
|
@ -212,3 +212,7 @@ class Tools:
|
||||||
@debug.command(name='inspect', aliases=['ins'])
|
@debug.command(name='inspect', aliases=['ins'])
|
||||||
async def _inspect(self, ctx, *, input_):
|
async def _inspect(self, ctx, *, input_):
|
||||||
pass
|
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)}```')
|
||||||
|
|
Loading…
Reference in a new issue