首页 > 解决方案 > 如何插入带有 discord.py 和 discord.ext.commands 的按钮?

问题描述

请记住,这不是 discord-py-slash-commands,只是 discord.py 模块。也不是反应按钮。我想创建交互按钮。任何人都可以帮忙吗?请帮忙!!

@bot.command()
async def buttons(ctx):
... # the button (interactive) goes here

标签: pythonbuttondiscordbotsinteractive

解决方案


当前版本的 discord.py 无法做到这一点。它将在处于 beta 测试阶段的 v2.0 中提供。


推荐阅读