我有一个命令,它应该设置验证过程,我希望我的bot在发送嵌入消息后,侦听下一条消息,发送到chat中,并将该消息存储在一个变量中。我知道on_message()
存在,但是没有它怎么办?
该命令应如下所示:
@client.command()
async def verificationSetup(ctx, channel_id, message):
if channel_id is not None:
embed=discord.Embed(title="Send the emoji you want to set!", description=" ")
await ctx.channel.send(embed=embed)
emoji = listen_to_message()
*最终为最终的英语错误道歉*
我实际上解决了这个问题,我要找的命令是
wait_for()
你可以找到所有的信息here特种坦克给discord.py's discord上的一个人
相关问题 更多 >
编程相关推荐