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
@bot.on(GroupMessage) async def on_group_message(event: GroupMessage): msg = str(event.message_chain) if msg == 'image': return bot.send(event, [Image(path='../test.png')]) if msg == 'voice': message_id = await bot.send(event, [Voice(path='../test.silk')]) await asyncio.sleep(1) message_chain = (await bot.message_from_id(message_id)).message_chain # 此处报错 await message_chain[Voice][0].download('../test_response.silk')
The text was updated successfully, but these errors were encountered:
fix #13
2fb0683
Fixed.
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: