我有以下基本的 python 不和谐机器人代码:
@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)
Run Code Online (Sandbox Code Playgroud)
有没有办法m只在m回复类型消息时返回?