微信指令发不了消息,突然报错,之前都没问题;请问是什么原因
回答
收藏

微信指令发不了消息,突然报错,之前都没问题;请问是什么原因

M
MR.李老头
2024-01-20 02:17·浏览量:705
M
MR.李老头
影刀见习开发者
发布于 2024-01-20 02:17705浏览

不可以发送空消息

Traceback (most recent call last):

 File "D:\【软件】\影刀\shadowbot-5.15.32\python\lib\runpy.py", line 193, in _run_module_as_main

   "__main__", mod_spec)

 File "D:\【软件】\影刀\shadowbot-5.15.32\python\lib\runpy.py", line 85, in _run_code

   exec(code, run_globals)

 File "D:\【软件】\影刀\shadowbot-5.15.32\python\lib\site-packages\xbot_interpreter.py", line 94, in <module>

   main()

 File "D:\【软件】\影刀\shadowbot-5.15.32\python\lib\site-packages\xbot_interpreter.py", line 58, in main

   mod.main(args)

 File "C:\Users\CWD51\AppData\Local\ShadowBot\users\100396361969623041\apps\e2d5ae16-fafe-4212-8419-1574843adeca\xbot_robot\process243.py", line 19, in main

   ], _block=("子流程8", 2, "微信发送消息&表情包"))

 File "<string>", line 91, in wrapper

 File "<string>", line 86, in wrapper

 File "<string>", line 82, in run

 File "C:\Users\CWD51\AppData\Local\ShadowBot\users\100396361969623041\apps\e2d5ae16-fafe-4212-8419-1574843adeca\xbot_extensions\we_chat\send_emo.py", line 33, in main

   }, _block=("微信发送消息&表情包", 1, "调用模块"))

 File "<string>", line 91, in wrapper

 File "<string>", line 86, in wrapper

 File "<string>", line 37, in invoke_module

 File "C:\Users\CWD51\AppData\Local\ShadowBot\users\100396361969623041\apps\e2d5ae16-fafe-4212-8419-1574843adeca\xbot_extensions\we_chat\_core.py", line 415, in send_message2

   we_chat.send_message2(name, msg, send_type, notify_all, nominee_list, match_type)

 File "C:\Users\CWD51\AppData\Local\ShadowBot\users\100396361969623041\apps\e2d5ae16-fafe-4212-8419-1574843adeca\xbot_extensions\we_chat\_core.py", line 241, in send_message2

   raise ValueError("不可以发送空消息")        

ValueError: 不可以发送空消息

尝试过的方案

改成:微信发送消息就没问题

另外,我重新弄了个应用测试,却可以使用微信发送消息&表情包

收藏
全部回答1
最新
发布回答
回答