Skip to content

Commit

Permalink
fix: resend 命令失效
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Jan 12, 2024
1 parent 1016259 commit 36c192f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/qqbot/cmds/session/resend.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def process(cls, ctx: aamgr.Context) -> tuple[bool, list]:
from ....openai import session as openai_session
from ....utils import context
from ....qqbot import message
import config

session_name = ctx.session_name
reply = []

Expand All @@ -24,6 +24,8 @@ def process(cls, ctx: aamgr.Context) -> tuple[bool, list]:

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)
Expand Down

0 comments on commit 36c192f

Please sign in to comment.