mirror of
https://github.com/yshtcn/ServerChanPush2TelegramBot.git
synced 2025-12-11 16:50:22 +08:00
- 增加配置范例
- 测试范例包含新功能分隔符
This commit is contained in:
parent
8662334695
commit
54b959c7ab
20
bot_config_example.json
Normal file
20
bot_config_example.json
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
[
|
||||
{
|
||||
"main_bot_id": "YOUR_MAIN_BOT_ID_HERE",
|
||||
"main_chat_id": "YOUR_MAIN_CHAT_ID_HERE",
|
||||
"sub_bots": [
|
||||
{
|
||||
"bot_id": "YOUR_SUB_BOT_ID_1",
|
||||
"chat_id": "YOUR_SUB_CHAT_ID_1",
|
||||
"keywords": ["test"],
|
||||
"delimiter": "---split---"
|
||||
},
|
||||
{
|
||||
"bot_id": "YOUR_SUB_BOT_ID_2",
|
||||
"chat_id": "YOUR_SUB_CHAT_ID_2",
|
||||
"keywords": ["keyword3", "keyword4"]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Loading…
x
Reference in New Issue
Block a user