mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-10 21:10:59 +00:00
fix: bad message chain init in command
This commit is contained in:
@@ -60,7 +60,9 @@ class CommandHandler(handler.MessageHandler):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
if event_ctx.event.alter is not None:
|
if event_ctx.event.alter is not None:
|
||||||
query.message_chain = platform_message.MessageChain([platform_message.Plain(event_ctx.event.alter)])
|
query.message_chain = platform_message.MessageChain(
|
||||||
|
[platform_message.Plain(text=event_ctx.event.alter)]
|
||||||
|
)
|
||||||
|
|
||||||
session = await self.ap.sess_mgr.get_session(query)
|
session = await self.ap.sess_mgr.get_session(query)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user