We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip list | grep wechaty - wechaty 0.10.7 - wechaty-grpc 0.20.19 - wechaty-puppet 0.4.23 - wechaty-puppet-service 0.8.10 - token type: padlocal - the version of wechaty docker container: [0.65]
1. 使用类方法Message.find()和Message.find_all()报错,提示cls._puppet为空; 2. 使用实例方法message.find()和message.find_all()返回空数组。 已在issue315中描述了详情:https://github.com/wechaty/python-wechaty/issues/315#issuecomment-1837825465
async def on_message(message: Message): logger.info("Message: {}".format(message)) ms = await message.find(talker_id=message.talker().get_id()) await message.say("Hello")
The text was updated successfully, but these errors were encountered:
已经知道Message.find()方法的Message应当通过wechaty bot获取,例如bot.Message.find()是可以执行的,不会报错。 但是获取到的PuppetService实例,其message_search()方法仍然仅仅是返回一个[]空数组。
Message.find()
Message
wechaty bot
bot.Message.find()
PuppetService
message_search()
[]
Sorry, something went wrong.
No branches or pull requests
Environment
Description
Minimum reproducible code
async def on_message(message: Message): logger.info("Message: {}".format(message)) ms = await message.find(talker_id=message.talker().get_id()) await message.say("Hello")
The text was updated successfully, but these errors were encountered: