This commit is contained in:
Windpicker-owo
2025-12-01 20:21:25 +08:00
3 changed files with 4 additions and 2 deletions

View File

@@ -48,6 +48,7 @@ dependencies = [
"pymongo>=4.13.2", "pymongo>=4.13.2",
"pymysql>=1.1.1", "pymysql>=1.1.1",
"pypinyin>=0.54.0", "pypinyin>=0.54.0",
"PyYAML>=6.0",
"python-dateutil>=2.9.0.post0", "python-dateutil>=2.9.0.post0",
"python-dotenv>=1.1.1", "python-dotenv>=1.1.1",
"python-igraph>=0.11.9", "python-igraph>=0.11.9",

View File

@@ -29,6 +29,7 @@ peewee
pyarrow pyarrow
pydantic pydantic
pypinyin pypinyin
PyYAML
python-dateutil python-dateutil
python-dotenv python-dotenv
python-igraph python-igraph

View File

@@ -214,9 +214,9 @@ def build_actions_module(available_actions: Optional[dict[str, ActionInfo]] = No
def _get_default_actions_block() -> str: def _get_default_actions_block() -> str:
"""获取默认的内置动作描述块""" """获取默认的内置动作描述块"""
return """### `kfc_reply` - 发消息 return """### `kfc_reply` - 发消息
发送文字回复。 发送文字回复。**注意:只能有一个 kfc_reply 动作,把你想说的话都写在一条消息里。**
```json ```json
{"type": "kfc_reply", "content": "你要说的话"} {"type": "kfc_reply", "content": "你要说的话,全部写在这里"}
``` ```
### `poke_user` - 戳一戳 ### `poke_user` - 戳一戳