所以我想让嵌入分页,这样它就可以在对表情符号做出反应时改变我找到了一个名为disputils的项目,它使过程变得更容易,但它支持文本,而且无论如何我可以在这段代码中包含图片(文档有没有示例或说可以嵌入图片任何帮助将不胜感激):
@bot.command()
async def paginate(ctx):
embeds = [
Embed(title="test page 1", description="This is just some test content!", color=0x115599),
Embed(title="test page 2", description="Nothing interesting here.", color=0x5599ff),
Embed(title="test page 3", description="Why are you still here?", color=0x191638)
]
paginator = BotEmbedPaginator(ctx, embeds)
await paginator.run()
我也尝试过使用 embed.set_image 但出现错误positional argument follows keyword argument (<unknown>, line 12)(它突出显示了 embed.set_image)
慕的地10843
翻翻过去那场雪
相关分类