Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

[Bug?] 发送合并转发消息时报错 KeyError: 'qq' #65

Open
arrio464 opened this issue Mar 19, 2023 · 0 comments
Open

[Bug?] 发送合并转发消息时报错 KeyError: 'qq' #65

arrio464 opened this issue Mar 19, 2023 · 0 comments

Comments

@arrio464
Copy link

发送含大量消息的合并转发消息时报错。
经测试,转发消息量较少(<10)时可以成功转发,而转发消息量较大(>10)时则会报错。

错误日志:

2023-03-19 02:57:33,480 [ERROR]: asyncio (base_events.default_exception_handler; base_events.py:1707)
Task exception was never retrieved
future: <Task finished name='Task-104' coro=<GoCQHttp.init..handle_msg.._handle_msg() done, defined at /root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py:191> exception=KeyError('qq')>
Traceback (most recent call last):
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 232, in _handle_msg
main_text, messages, at_dict = await message_elements_wrapper(context, msg_elements, chat)
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 177, in message_elements_wrapper
sub_main_text, sub_messages, sub_at_list = await message_element_wrapper(context, msg_element, chat)
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 164, in message_element_wrapper
main_text, messages, _ = await message_elements_wrapper(context, fmt_forward_msgs, chat)
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 177, in message_elements_wrapper
sub_main_text, sub_messages, sub_at_list = await message_element_wrapper(context, msg_element, chat)
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 150, in message_element_wrapper
ref_user = await self.get_user_info(msg_data["qq"])
KeyError: 'qq'

使用--verbose参数后日志:

2023-03-19 03:31:58,989 [DEBUG]: telegram.bot (bot.decorator; bot.py:135)
Exiting: get_updates
2023-03-19 03:31:58,990 [DEBUG]: telegram.bot (bot.decorator; bot.py:132)
Entering: get_updates
2023-03-19 03:32:06,262 [INFO]: quart.app (init._handle_event; init.py:596)
received event: message.private.friend
[2023-03-19 03:32:06,262] INFO in init: received event: message.private.friend
2023-03-19 03:32:06,264 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp._handle_msg; GoCQHttp.py:192)
<Event, {'post_type': 'message', 'message_type': 'private', 'time': 1679196726, 'self_id': $some_id$, 'sub_type': 'friend', 'user_id': $some_id$, 'target_id': $some_id$, 'message': [{'type': 'forward', 'data': {'id': '$some_id$'}}], 'raw_message': '[CQ:forward,id=$some_id$]', 'font': 0, 'sender': {'age': 0, 'nickname': '$some_id$', 'sex': 'unknown', 'user_id': $some_id$}, 'message_id': -1273188789}>
2023-03-19 03:32:06,536 [INFO]: quart.app (init._handle_event; init.py:596)
received event: meta_event.heartbeat
[2023-03-19 03:32:06,536] INFO in init: received event: meta_event.heartbeat
2023-03-19 03:32:06,548 [ERROR]: asyncio (base_events.default_exception_handler; base_events.py:1707)
Task exception was never retrieved
future: <Task finished name='Task-456' coro=<GoCQHttp.init..handle_msg.._handle_msg() done, defined at /root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py:191> exception=KeyError('qq')>
Traceback (most recent call last):
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 232, in _handle_msg
main_text, messages, at_dict = await message_elements_wrapper(context, msg_elements, chat)
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 177, in message_elements_wrapper
sub_main_text, sub_messages, sub_at_list = await message_element_wrapper(context, msg_element, chat)
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 164, in message_element_wrapper
main_text, messages, _ = await message_elements_wrapper(context, fmt_forward_msgs, chat)
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 177, in message_elements_wrapper
sub_main_text, sub_messages, sub_at_list = await message_element_wrapper(context, msg_element, chat)
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 150, in message_element_wrapper
ref_user = await self.get_user_info(msg_data["qq"])
KeyError: 'qq'
2023-03-19 03:32:06,568 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_forward_msg "HTTP/1.1 200 OK"
2023-03-19 03:32:06,573 [DEBUG]: root (GoCQHttp.message_element_wrapper; GoCQHttp.py:157)
Forwarded message: [$some_loooooog_message$]
2023-03-19 03:32:06,607 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:06,611 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:06,646 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:06,651 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:06,687 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:06,692 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:06,727 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:06,750 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:06,782 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:06,787 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:06,822 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:06,827 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:06,861 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:06,865 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:06,904 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:06,910 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:06,945 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:06,967 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:06,998 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,002 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,036 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,040 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,077 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,082 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,120 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,124 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,161 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,183 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,217 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,222 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,255 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,260 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,291 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,296 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,329 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,334 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,369 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,390 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,423 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,430 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,467 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,472 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,505 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,509 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,543 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,548 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,583 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,605 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,639 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,644 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,681 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,684 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,719 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,725 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,754 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,757 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,785 [DEBUG]: httpx._client (_client._send_single_request; _client.py:1734)
HTTP Request: POST http://127.0.0.1:6700/get_friend_list "HTTP/1.1 200 OK"
2023-03-19 03:32:07,803 [DEBUG]: efb_qq_plugin_go_cqhttp.GoCQHttp (GoCQHttp.update_friend_list; GoCQHttp.py:910)
Update friend list completed. Entries: 158
2023-03-19 03:32:07,804 [DEBUG]: root (GoCQHttp.message_element_wrapper; GoCQHttp.py:159)
Formated forwarded message: [$some_loooooog_message$]
2023-03-19 03:32:07,808 [DEBUG]: urllib3.connectionpool (connectionpool._new_conn; connectionpool.py:1003)
Starting new HTTPS connection (1): gchat.qpic.cn:443
2023-03-19 03:32:07,929 [DEBUG]: urllib3.connectionpool (connectionpool._make_request; connectionpool.py:456)
https://gchat.qpic.cn:443 "GET /gchatpic_new/0/0-0-3E408F36CA2E4C062603C154D242E2A1/0?term=2 HTTP/1.1" 200 61614
2023-03-19 03:32:07,949 [DEBUG]: urllib3.connectionpool (connectionpool._new_conn; connectionpool.py:1003)
Starting new HTTPS connection (1): gchat.qpic.cn:443
2023-03-19 03:32:08,086 [DEBUG]: urllib3.connectionpool (connectionpool._make_request; connectionpool.py:456)
https://gchat.qpic.cn:443 "GET /gchatpic_new/0/0-0-C5C819253241266A5F23582A2A247E06/0?term=2 HTTP/1.1" 200 11179
2023-03-19 03:32:08,101 [DEBUG]: urllib3.connectionpool (connectionpool._new_conn; connectionpool.py:1003)
Starting new HTTPS connection (1): gchat.qpic.cn:443
2023-03-19 03:32:08,265 [DEBUG]: urllib3.connectionpool (connectionpool._make_request; connectionpool.py:456)
https://gchat.qpic.cn:443 "GET /gchatpic_new/0/0-0-9A9CA95D4CAC4EC8FE200E4809620FB1/0?term=2 HTTP/1.1" 200 18353
2023-03-19 03:32:08,282 [DEBUG]: urllib3.connectionpool (connectionpool._new_conn; connectionpool.py:1003)
Starting new HTTPS connection (1): gchat.qpic.cn:443
2023-03-19 03:32:08,446 [DEBUG]: urllib3.connectionpool (connectionpool._make_request; connectionpool.py:456)
https://gchat.qpic.cn:443 "GET /gchatpic_new/0/0-0-2AAFA9AC3D3A4F087E8CE06CD5122782/0?term=2 HTTP/1.1" 200 78323
2023-03-19 03:32:08,501 [ERROR]: asyncio (base_events.default_exception_handler; base_events.py:1707)
Task exception was never retrieved
future: <Task finished name='Task-519' coro=<GoCQHttp.init..handle_msg.._handle_msg() done, defined at /root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py:191> exception=KeyError('qq')>
Traceback (most recent call last):
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 232, in _handle_msg
main_text, messages, at_dict = await message_elements_wrapper(context, msg_elements, chat)
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 177, in message_elements_wrapper
sub_main_text, sub_messages, sub_at_list = await message_element_wrapper(context, msg_element, chat)
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 164, in message_element_wrapper
main_text, messages, _ = await message_elements_wrapper(context, fmt_forward_msgs, chat)
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 177, in message_elements_wrapper
sub_main_text, sub_messages, sub_at_list = await message_element_wrapper(context, msg_element, chat)
File "/root/efb/lib/python3.8/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 150, in message_element_wrapper
ref_user = await self.get_user_info(msg_data["qq"])
KeyError: 'qq'
2023-03-19 03:32:09,286 [DEBUG]: telegram.bot (bot.get_updates; bot.py:3068)
No new updates found.
2023-03-19 03:32:09,287 [DEBUG]: telegram.bot (bot.decorator; bot.py:134)
[]
2023-03-19 03:32:09,288 [DEBUG]: telegram.bot (bot.decorator; bot.py:135)
Exiting: get_updates
2023-03-19 03:32:09,288 [DEBUG]: telegram.bot (bot.decorator; bot.py:132)
Entering: get_updates
2023-03-19 03:32:19,585 [DEBUG]: telegram.bot (bot.get_updates; bot.py:3068)
No new updates found.
2023-03-19 03:32:19,586 [DEBUG]: telegram.bot (bot.decorator; bot.py:134)
[]
2023-03-19 03:32:19,587 [DEBUG]: telegram.bot (bot.decorator; bot.py:135)
Exiting: get_updates
2023-03-19 03:32:19,588 [DEBUG]: telegram.bot (bot.decorator; bot.py:132)
Entering: get_updates
2023-03-19 03:32:26,535 [INFO]: quart.app (init._handle_event; init.py:596)
received event: meta_event.heartbeat
[2023-03-19 03:32:26,535] INFO in init: received event: meta_event.heartbeat
2023-03-19 03:32:29,890 [DEBUG]: telegram.bot (bot.get_updates; bot.py:3068)
No new updates found.
2023-03-19 03:32:29,891 [DEBUG]: telegram.bot (bot.decorator; bot.py:134)
[]
2023-03-19 03:32:29,891 [DEBUG]: telegram.bot (bot.decorator; bot.py:135)
Exiting: get_updates
2023-03-19 03:32:29,892 [DEBUG]: telegram.bot (bot.decorator; bot.py:132)
Entering: get_updates

配置文件及参数:

Client: GoCQHttp # 指定要使用的 QQ 客户端(此处为 GoCQHttp)GoCQHttp:
type: HTTP # 指定 efb-qq-plugin-go-cqhttp 与 GoCQHttp 通信的方式 现阶段仅支>持 HTTP
access_token:
api_root: http://127.0.0.1:6700/ # GoCQHttp API接口地址/端口 host: 127.0.0.1 # efb-qq-slave 所监听的地址用于接收消息 port: 6701 # 同上

token: "$some_tokens$"
admins:
- $some_admins$
flags:
send_image_as_file: false
#将所有图像消息作为文件发送,以防止主动报文的图像压缩.需要更多的流量,可以开启,改为ture
animated_stickers: true
#启用对动画贴纸的实验性支持启用对动画贴纸的实验性支持,该依赖已包含在教程依赖 retry_on_error: true
request_kwargs:
proxy_url: http://127.0.0.1:20172

$ ehforwarderbot -V -p qq
EH Forwarder Bot
Version: 2.1.1
Python version:
3.8.10 (default, Nov 14 2022, 12:59:47)
[GCC 9.4.0]
Running on profile "qq".
Master channel:
Telegram Master (blueset.telegram) 2.3.1 # Default instance
Slave channel:
QQ Slave (milkice.qq) 2.0.2-dev # Default instance
Middleware:
KeywordMention Middleware (keywordmention.MatrixLauMiddleware) 2.1.0 # Default instance

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant