fix: 修复画画指令失效的问题

This commit is contained in:
Soulter
2023-04-21 00:45:59 +08:00
parent 8224aa87a5
commit d912b990e4
+1 -1
View File
@@ -564,7 +564,7 @@ def oper_msg(message, group=False, msg_ref = None, platform = None):
# 是否是画图指令
if len(command_result) == 3 and command_result[2] == 'draw':
for i in command_result[1]:
send_message(platform, message, i, msg_ref=msg_ref, gocq_loop=gocq_loop, qqchannel_bot=qqchannel_bot, gocq_bot=gocq_bot)
send_message(platform, message, i, msg_ref=msg_ref, image=i, gocq_loop=gocq_loop, qqchannel_bot=qqchannel_bot, gocq_bot=gocq_bot)
else:
try:
send_message(platform, message, command_result[1], msg_ref=msg_ref, gocq_loop=gocq_loop, qqchannel_bot=qqchannel_bot, gocq_bot=gocq_bot)