pcrbot / plugins-for-Hoshino

Hoshino插件合集on-mirai
GNU General Public License v3.0
116 stars 47 forks source link

shebot撤回setu时有报错信息,求助 #9

Open Dsclown opened 4 years ago

Dsclown commented 4 years ago

[2020-08-23 01:56:01,569 涩图] ERROR: <class 'aiocqhttp.exceptions.ActionFailed'> occured when send_common_setu handling message 1586105978. [2020-08-23 01:56:01,575 涩图] ERROR: <ActionFailed, retcode=100> Traceback (most recent call last): File "C:\Users\Administrator\Desktop\HoshinoBot\hoshino\msghandler.py", line 28, in handle_message await sf.func(bot, event) File "C:\Users\Administrator\Desktop\HoshinoBot\hoshino\modules\shebot\setu__init.py", line 116, in send_common_setu await send_setus(bot,event,'nr18_setu', setus, WITH_URL, is_to_delete) File "C:\Users\Administrator\Desktop\HoshinoBot\hoshino\modules\shebot\setu\data_source.py", line 77, in send_setus await bot.delete_msg(self_id=self_id, message_id=msg_id) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiocqhttp\init__.py", line 223, in call_action return await self._api.call_action(action=action, params) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiocqhttp\api_impl.py", line 186, in call_action result = await self._wsr_api.call_action(action, params) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiocqhttp\api_impl.py", line 161, in call_action return _handle_api_result( File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\site-packages\aiocqhttp\api_impl.py", line 51, in _handle_api_result raise ActionFailed(retcode=result.get('retcode')) aiocqhttp.exceptions.ActionFailed: <ActionFailed, retcode=100>

shewinder commented 4 years ago

如果部分图片撤回报错请忽略,最常见的原因是图片被tx吞了根本没有发出来,所以撤回自然报错了