将dm发送给按下按钮的用户

cetgtptt  于 2021-08-20  发布在  Java
关注(0)|答案(0)|浏览(156)

如何将dm发送给在discord中按下按钮的用户?

await ctx.send(
        embed = emb,
        components=[
            Button(style=ButtonStyle.green, label="Buy!")
        ]
    )

    response = await Bot.wait_for("button_click")
    if response.channel == ctx.channel:

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题