Merge pull request #659 from RockChinQ/fix/resend-command-failed

Fix: resend 命令失效
This commit is contained in:
Junyan Qin
2024-01-12 14:40:07 +08:00
committed by GitHub

View File

@@ -15,7 +15,7 @@ class ResendCommand(aamgr.AbstractCommandNode):
from ....openai import session as openai_session
from ....utils import context
from ....qqbot import message
import config
session_name = ctx.session_name
reply = []
@@ -24,6 +24,8 @@ class ResendCommand(aamgr.AbstractCommandNode):
mgr = context.get_qqbot_manager()
config = context.get_config_manager().data
reply = message.process_normal_message(to_send, mgr, config,
ctx.launcher_type, ctx.launcher_id,
ctx.sender_id)