@client.command()
async def akatsuki(ctx, *, arg):
akatsukirequest = requests.get(f"https://akatsuki.pw/api/v1/users/whatid?name={arg}").json()
ok = akatsukirequest.json()['id']
avatarcontent = f"https://a.akatsuki.pw/{ok}.png"
await ctx.send(avatarcontent)
上面的代码是我的,但不会打印出该网址id
的{{1}}部分(cover是我使用的arg)我不理解此错误( python和discord.py)错误= https://akatsuki.pw/api/v1/users/whatid?name=Cover