response = get(url='https://benbotfn.tk/api/v1/aes')
data = response.json()
@client.command()
async def aes123(ctx):
await ctx.send(data['mainKey'])
@client.command()
async def aeskey(ctx):
embed=discord.Embed(title="aes")
embed.add_field(name='aes', value=f'{data['mainKey']} aes key')
await ctx.send(embed=embed)
运行此代码时出现此错误:
