RockChinQ / QChatGPT

😎高稳定性、🧩支持扩展、🦄多模态的 ChatGPT QQ / QQ频道 / One Bot 机器人🤖 | 支持 OpenAI GPT、GPT 4o、Claude、Gemini Pro、DeepSeek、Moonshot(Kimi)、gpt4free、One API、Ollama 的 QQ / QQ频道 / OneBot 机器人 / Agent 平台
https://q.rkcn.top
GNU Affero General Public License v3.0
4.3k stars 332 forks source link

[Bug]: aiocqhttp不支持语音消息类型 #723

Closed WineTer closed 7 months ago

WineTer commented 7 months ago

部署方式

手动部署

消息平台适配器

aiocqhttp

系统环境

Windows10 中国大陆

Python环境

python 3.11.5

QChatGPT版本

v3.02

异常情况

aiocqhttp适配器接NTQQ LLOneBot无法发送voice

日志信息

PS D:\chat\QChatGPT> & C:/Users/Administrator/AppData/Local/Programs/Python/Python311/python.exe d:/chat/QChatGPT/main.py


/ _ \ / | |_ | | / | _ |
| (_) | (
| ' \/ ` | | ( | / | |
_\\|||_,|_|_|| ||

⭐️开源地址: https://github.com/RockChinQ/QChatGPT 📖文档地址: https://q.rkcn.top

[2024-03-13 14:48:48.647] d:\chat\QChatGPT\pkg\platform\manager.py (108) - [INFO] : 初始化平台适配器 0: aiocqhttp [2024-03-13 14:48:48 +0800] [14236] [INFO] Running on http://0.0.0.0:3002 (CTRL + C to quit) [2024-03-13 14:48:51 +0800] [14236] [INFO] 127.0.0.1:61103 GET /ws 1.1 101 - 2007 [2024-03-13 14:49:00.247] d:\chat\QChatGPT\pkg\pipeline\process\process.py (36) - [INFO] : 处理 person_200522012 的请求(0): !voice type mhyvoice [2024-03-13 14:49:00.249] d:\chat\QChatGPT\pkg\plugin\manager.py (151) - [ERROR] : 插件 chat_voice 触发事件 PersonCommandSent 时发生错误: name 'logging' is not defined [2024-03-13 14:49:00.251] d:\chat\QChatGPT\pkg\pipeline\process\handlers\command.py (93) - [INFO] : 命令(0)报错: 未知命令: voice [2024-03-13 15:21:00.925] d:\chat\QChatGPT\pkg\pipeline\process\process.py (36) - [INFO] : 处理 person_200522012 的请求(1): 06 [2024-03-13 15:21:02.812] d:\chat\QChatGPT\pkg\pipeline\process\handlers\chat.py (81) - [INFO] : 对话(1)响应: Hello! How can I ass... [2024-03-13 15:21:02.814] d:\chat\QChatGPT\pkg\plugin\manager.py (151) - [ERROR] : 插件 chat_voice 触发事件 NormalMessageResponded 时发生错误: name 'logging' is not defined

启用的插件

chat_voice

RockChinQ commented 7 months ago

应该是支持语音的,你这个报错是其他问题,找插件作者问问