不和谐嵌入不想发送

时间:2021-05-18 23:32:35

标签: python discord discord.py

我的命令嵌入无法发送。我很确定某处有错别字,但我似乎找不到。我的嵌入有问题吗?谢谢

@bot.command(aliases=['bal'])
async def balance(ctx, member : discord.Member = None):
  if not member:
    member = ctx.author
  await open_account(member)

  users = await get_bank_data()
  user = member

  wallet_amount = users[str(user.id)]["wallet"]
  bank_amount = users[str(user.id)]["bank"]

  embed=discord.Embed(title=f"{member.name}'s Balance", color=0x00FFFF)
  embed.add_field(name="Wallet", value=f"{wallet_amount} Ulti Coins!", incline=False)
  embed.add_field(name="Bank", value=f"{bank_amount} Ulti Coins!", incline=False)
  embed.set_thumbnail(url=user.avatar_url)
  embed.set_footer(text="Your total amount is saved across all servers that I'm in!")
  await ctx.send(embed=embed)

1 个答案:

答案 0 :(得分:1)

你打错了,是inline不是incline