accept format update

pull/31/head
UnCLAS-Prommer 2025-05-28 12:52:39 +08:00
parent 4a5bf0c50e
commit bdb42d085e
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[project]
name = "MaiBotNapcatAdapter"
version = "0.2.4"
version = "0.2.5"
description = "A MaiBot adapter for Napcat"
[tool.ruff]

View File

@ -111,7 +111,7 @@ class RecvHandler:
template_info: TemplateInfo = None # 模板信息,暂时为空,等待启用
format_info: FormatInfo = FormatInfo(
content_format=["text", "image", "emoji"],
accept_format=["text", "image", "emoji", "reply", "voice"],
accept_format=["text", "image", "emoji", "reply", "voice", "command"],
) # 格式化信息
if message_type == MessageType.private:
sub_type = raw_message.get("sub_type")