Discord 嵌入标题和描述不起作用

Discord embed title and description not working

我正在尝试使用嵌入制作自定义帮助命令。在制作时,我发现当我在初始化期间添加嵌入标题和描述时,它根本无法发送嵌入。 我在标题和描述之前的代码:

@commands.command(name="help")
async def help(self, ctx):

    test_e = discord.Embed(colour=discord.Colour.orange())
    test_e.set_author(name="Snoof Bot Commands")
    test_e.add_field(name="test", value="Bot prefix = oof", inline=False)
    test_e.add_field(name="test", value="hello", inline=False)
    test_e.add_field(name="good day", value="today is a good day")

    await ctx.send(embed=test_e)

添加标题和描述后我的代码:

@commands.command(name="help")
async def help(self, ctx):

    test_e = discord.Embed(colour=discord.Colour.orange(), title="title", description="desc")
    test_e.set_author(name="Snoof Bot Commands")
    test_e.add_field(name="test", value="Bot prefix = oof", inline=False)
    test_e.add_field(name="test", value="hello", inline=False)
    test_e.add_field(name="good day", value="today is a good day")

    await ctx.send(embed=test_e)

尝试将 title 变量移到开头,将 color 变量移到结尾:)

test_e = discord.Embed(title="title", description="desc",colour=discord.Colour.orange())