diff --git a/pkg/pipeline/process/handlers/command.py b/pkg/pipeline/process/handlers/command.py index d3a46d6c..1d1454b9 100644 --- a/pkg/pipeline/process/handlers/command.py +++ b/pkg/pipeline/process/handlers/command.py @@ -60,7 +60,9 @@ class CommandHandler(handler.MessageHandler): else: 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)