mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-26 03:44:58 +08:00
Merge pull request #659 from RockChinQ/fix/resend-command-failed
Fix: resend 命令失效
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user