mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 11:42:44 +08:00
fix: GroupNormalMessageReceived事件设置 alter 无效 (#803)
This commit is contained in:
parent
4b2785c5eb
commit
c5cb26d295
|
@ -62,9 +62,8 @@ class ChatMessageHandler(handler.MessageHandler):
|
|||
)
|
||||
|
||||
if event_ctx.event.alter is not None:
|
||||
query.message_chain = mirai.MessageChain([
|
||||
mirai.Plain(event_ctx.event.alter)
|
||||
])
|
||||
# if isinstance(event_ctx.event, str): # 现在暂时不考虑多模态alter
|
||||
query.user_message.content = event_ctx.event.alter
|
||||
|
||||
text_length = 0
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user