[2021-09-11 10:43:20,876 原神资源查询] INFO: Message 418011422 triggered inquire_resource_points.
[2021-09-11 10:43:20,882 原神资源查询] ERROR: <class 'ValueError'> occured when inquire_resource_points handling message 418011422.
[2021-09-11 10:43:20,886 原神资源查询] ERROR: the msg argument is not recognized
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\HoshinoBot\hoshino\msghandler.py", line 28, in handle_message
await service_func.func(bot, event)
File "C:\Users\Administrator\Desktop\HoshinoBot\hoshino\modules\Genshin_Impact_bot\query_resource_points__init__.py", line 15, in inquire_resource_points
await bot.send(ev, get_resource_map_mes(resource_name), at_sender=True)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\aiocqhttp__init.py", line 249, in send
msg = message if isinstance(message, Message) else Message(message)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\aiocqhttp\message.py", line 381, in init__
raise ValueError('the msg argument is not recognized')
ValueError: the msg argument is not recognized
C:\Users\Administrator\Desktop\HoshinoBot\hoshino\msghandler.py:33: RuntimeWarning: coroutine 'get_resource_map_mes' was never awaited
service_func.sv.logger.exception(e)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
[2021-09-11 10:43:20,876 原神资源查询] INFO: Message 418011422 triggered inquire_resource_points. [2021-09-11 10:43:20,882 原神资源查询] ERROR: <class 'ValueError'> occured when inquire_resource_points handling message 418011422. [2021-09-11 10:43:20,886 原神资源查询] ERROR: the msg argument is not recognized Traceback (most recent call last): File "C:\Users\Administrator\Desktop\HoshinoBot\hoshino\msghandler.py", line 28, in handle_message await service_func.func(bot, event) File "C:\Users\Administrator\Desktop\HoshinoBot\hoshino\modules\Genshin_Impact_bot\query_resource_points__init__.py", line 15, in inquire_resource_points await bot.send(ev, get_resource_map_mes(resource_name), at_sender=True) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\aiocqhttp__init.py", line 249, in send msg = message if isinstance(message, Message) else Message(message) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\aiocqhttp\message.py", line 381, in init__ raise ValueError('the msg argument is not recognized') ValueError: the msg argument is not recognized C:\Users\Administrator\Desktop\HoshinoBot\hoshino\msghandler.py:33: RuntimeWarning: coroutine 'get_resource_map_mes' was never awaited service_func.sv.logger.exception(e) RuntimeWarning: Enable tracemalloc to get the object allocation traceback