【发布时间】:2021-07-01 12:08:59
【问题描述】:
我有以下基本的 python discord bot 代码:
@bot.command()
async def replyTest(ctx):
await ctx.send('Reply to this message')
def check(m):
return m
msg = await bot.wait_for("message", check=check)
print(msg)
只有当m是回复类型的消息时,有没有办法返回m?
【问题讨论】:
标签: python-3.x discord discord.py