merge: resolve conflicts with origin/master

- .gitignore: keep both .serena and .worktrees/ entries
- astr_main_agent_resources.py: keep deletion (refactored to tools/)
- send_message.py: port video message type support from master
This commit is contained in:
advent259141
2026-03-13 09:17:31 +08:00
53 changed files with 4017 additions and 495 deletions

View File

@@ -245,7 +245,7 @@ export default defineConfig({
next: '下一篇'
},
editLink: {
pattern: 'https://github.com/AstrBotdevs/AstrBot-docs/edit/v4/:path',
pattern: 'https://github.com/AstrBotdevs/AstrBot/edit/master/docs/:path',
text: '发现文档有问题?在 GitHub 上编辑此页',
},
logo: '/logo_prod.png',
@@ -484,7 +484,7 @@ export default defineConfig({
next: 'Next'
},
editLink: {
pattern: 'https://github.com/AstrBotdevs/AstrBot-docs/edit/v4/:path',
pattern: 'https://github.com/AstrBotdevs/AstrBot/edit/master/docs/:path',
text: 'Edit this page on GitHub',
},
logo: '/logo_prod.png',

View File

@@ -14,8 +14,6 @@ Welcome to submit Issues or Pull Requests:
- [AstrBotDevs/AstrBot](https://github.com/AstrBotDevs/AstrBot)
- [AstrBotDevs/AstrBot-Docs](https://github.com/AstrBotDevs/AstrBot-docs)
### Tencent QQ Groups
> - All groups are available to join. If you find that the group size is below the limit, please feel free to join.

View File

@@ -128,6 +128,9 @@ The default AstrBot configuration is as follows:
"telegram": {
"pre_ack_emoji": {"enable": False, "emojis": ["✍️"]},
},
"discord": {
"pre_ack_emoji": {"enable": False, "emojis": ["🤔"]},
},
},
"wake_prefix": ["/"],
"log_level": "INFO",
@@ -511,6 +514,11 @@ When enabled, AstrBot sends a pre-reply emoji before requesting the LLM to infor
- `enable`: Whether to enable pre-reply emojis for Telegram messages. Default is `false`.
- `emojis`: List of pre-reply emojis. Default is `["✍️"]`. Telegram only supports a fixed set of reactions; refer to [reactions.txt](https://gist.github.com/Soulter/3f22c8e5f9c7e152e967e8bc28c97fc9).
##### discord
- `enable`: Whether to enable pre-reply emojis for Discord messages. Default is `false`.
- `emojis`: List of pre-reply emojis. Default is `["🤔"]`. Refer to [Discord Reaction FAQ](https://support.discord.com/hc/en-us/articles/12102061808663-Reactions-and-Super-Reactions-FAQ).
### `wake_prefix`
Wake prefix. Default is `/`. When a message starts with `/`, AstrBot is awakened.

View File

@@ -7,17 +7,17 @@
## Supported Basic Message Types
> Version v4.15.0.
> Version v4.19.6.
| Message Type | Receive | Send | Notes |
| --- | --- | --- | --- |
| Text | Yes | Yes | |
| Image | Yes | Yes | |
| Voice | No | No | |
| Video | No | No | |
| File | No | No | |
| Voice | Yes | Yes | |
| Video | Yes | Yes | |
| File | Yes | Yes | |
Proactive message push: Not supported.
Proactive message push: Supported.
## Apply for a Bot

View File

@@ -2,17 +2,17 @@
## Supported Basic Message Types
> Version v4.15.0.
> Version v4.19.6.
| Message Type | Receive | Send | Notes |
| --- | --- | --- | --- |
| Text | Yes | Yes | |
| Image | Yes | Yes | |
| Voice | No | No | |
| Video | No | No | |
| File | No | No | |
| Voice | Yes | Yes | |
| Video | Yes | Yes | |
| File | Yes | Yes | |
Proactive message push: Not supported.
Proactive message push: Supported.
## Quick Deployment Steps

View File

@@ -29,8 +29,6 @@ https://discord.gg/PxgzhmxJ
- [AstrBotDevs/AstrBot](https://github.com/AstrBotDevs/AstrBot)
- [AstrBotDevs/AstrBot-Docs](https://github.com/AstrBotDevs/AstrBot-docs)
## 成为 AstrBot 组织成员
欢迎加入我们!

View File

@@ -73,9 +73,10 @@ sudo docker run -itd -p 6185:6185 -p 6199:6199 -v $PWD/data:/AstrBot/data -v /et
> ```
>
> (感谢 DaoCloud ❤️)
>
> Windows 下不需要加 sudo下同
> Windows 同步 Host Time需要WSL2
>
Windows 同步 Host Time需要WSL2
```
-v \\wsl.localhost\(your-wsl-os)\etc\timezone:/etc/timezone:ro

View File

@@ -128,6 +128,9 @@ AstrBot 默认配置如下:
"telegram": {
"pre_ack_emoji": {"enable": False, "emojis": ["✍️"]},
},
"discord": {
"pre_ack_emoji": {"enable": False, "emojis": ["🤔"]},
},
},
"wake_prefix": ["/"],
"log_level": "INFO",
@@ -506,11 +509,16 @@ AstrBot WebUI 配置。
- `enable`: 是否启用飞书消息预回复表情。默认为 `false`
- `emojis`: 预回复的表情列表。默认为 `["Typing"]`。表情枚举名参考:[表情文案说明](https://open.feishu.cn/document/server-docs/im-v1/message-reaction/emojis-introduce)
#### telegram
##### telegram
- `enable`: 是否启用 Telegram 消息预回复表情。默认为 `false`
- `emojis`: 预回复的表情列表。默认为 `["✍️"]`。Telegram 仅支持固定反应集合,参考:[reactions.txt](https://gist.github.com/Soulter/3f22c8e5f9c7e152e967e8bc28c97fc9)
##### discord
- `enable`: 是否启用 Discord 消息预回复表情。默认为 `false`
- `emojis`: 预回复的表情列表。默认为 `["🤔"]`。Discord反应支持参考[Discord Reaction FAQ](https://support.discord.com/hc/en-us/articles/12102061808663-Reactions-and-Super-Reactions-FAQ)
### `wake_prefix`
唤醒前缀。默认为 `/`。当消息以 `/` 开头时AstrBot 会被唤醒。

View File

@@ -96,7 +96,7 @@ docker logs napcat
### 配置管理员
填写完毕后,进入 `配置文件` 页,点击 `平台配置` 选项卡,找到 `管理员 ID`,填写你的账号(不是机器人的账号)。
填写完毕后,进入 `配置文件` 页,点击 `平台配置` 选项卡,找到 `管理员 ID`,填写你的账号(不是机器人的账号)。
切记点击右下角 `保存`AstrBot 重启并会应用配置。

View File

@@ -10,17 +10,17 @@
## 支持的基本消息类型
> 版本 v4.15.0
> 版本 v4.19.6
| 消息类型 | 是否支持接收 | 是否支持发送 | 备注 |
| --- | --- | --- | --- |
| 文本 | 是 | 是 | |
| 图片 | 是 | 是 | |
| 语音 | | | |
| 视频 | | | |
| 文件 | | | |
| 语音 | | | |
| 视频 | | | |
| 文件 | | | |
主动消息推送:支持。
主动消息推送:支持。
## 申请一个机器人

View File

@@ -3,17 +3,17 @@
## 支持的基本消息类型
> 版本 v4.15.0
> 版本 v4.19.6
| 消息类型 | 是否支持接收 | 是否支持发送 | 备注 |
| --- | --- | --- | --- |
| 文本 | 是 | 是 | |
| 图片 | 是 | 是 | |
| 语音 | | | |
| 视频 | | | |
| 文件 | | | |
| 语音 | | | |
| 视频 | | | |
| 文件 | | | |
主动消息推送:支持。
主动消息推送:支持。
## 快速部署通道