Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: resend 命令失效 #659

Merged
merged 1 commit into from
Jan 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading