-
Notifications
You must be signed in to change notification settings - Fork 14
/
config_cps.yaml.example
104 lines (78 loc) · 2.56 KB
/
config_cps.yaml.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# 微信机器人配置文件
# 配置说明:https://github.com/Cassius0924/WeChatter?tab=readme-ov-file#%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6
# Wechatter
wechatter_port: 4000
# WX Webhook
# Docker Compose 部署时,wx_webhook_base_api 需要配置为 http://wxbotwebhook
# 端口号需要与 docker-compose.yml 文件的 wxbotwebhook 中的端口一致
wx_webhook_base_api: http://wxbotwebhook:3001
wx_webhook_recv_api_path: /receive_msg
# 默认为 "wechatter"
# 需要与 docker-compose.yml 文件的 wxbotwebhook 中的 LOGIN_API_TOKEN 一致
wx_webhook_token: "wechatter"
# Admin
admin_list: [ "文件传输助手", "AdminName" ]
admin_group_list: [ "AdminGroupName" ]
bark_url:
# Bot
bot_name: "Cassius"
# Chat
command_prefix: /
need_mentioned: False
# LLM
openai_base_api: https://api.openai.com
openai_token: sk_your_openai_token
# GitHub Webhook
github_webhook_enabled: False
github_webhook_api_path: /webhook/github
github_webhook_receive_person_list: [ ]
github_webhook_receive_group_list: [ ]
# Message Forwarding:消息转发
message_forwarding_enabled: False
message_forwarding_rule_list:
- from_list: [ "%ALL" ]
from_list_exclude: [ "You" ]
to_person_list: [ "You" ]
to_group_list: [ ]
- from_list: [ "Jay", "Tom" ]
to_person_list: [ "Cassius" ]
to_group_list: [ "Team" ]
# 公众号消息提醒
official_account_reminder_enabled: True
official_account_reminder_rule_list:
- oa_name_list: [ "央视新闻", "人民日报" ]
to_person_list: [ "You" ]
to_group_list: [ "Team" ]
# Task Cron:定时任务
# 配置说明:https://github.com/Cassius0924/WeChatter/blob/master/docs/task_cron_config_detail.md
all_task_cron_enabled: True
task_cron_list:
- task: "每天早上8点发送天气预报和知乎热搜"
enabled: True
cron:
hour: "8"
minute: "0"
second: "0"
timezone: "Asia/Shanghai"
commands:
- cmd: "weather"
args: [ "广州" ]
to_person_list: [ "You" ]
- cmd: "zhihu-hot"
to_group_list: [ "Team" ]
# Custom Command Key: 自定义命令关键词
# 配置说明:https://github.com/Cassius0924/WeChatter/blob/master/docs/custom_command_key_config_detail.md
custom_command_key_dict:
gpt4: [ ">" ]
bili-hot: [ "bh" ]
play: [ "p" ]
weather: [ "w", "温度" ]
# Discord Message Forwarding:Discord 消息转发
discord_message_forwarding_enabled: False
discord_message_forwarding_rule_list:
- from_list: [ "%ALL" ]
from_list_exclude: [ "" ]
webhook_url: "your_discord_webhook_url"
# GPT Mode Person
gpt_mode_person_list: [ ]
gpt_mode_model: "gpt4"