-
Notifications
You must be signed in to change notification settings - Fork 16
/
config.yaml.example
111 lines (82 loc) · 2.55 KB
/
config.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
105
106
107
108
109
110
111
# 微信机器人配置文件
# 配置说明: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
wx_webhook_base_api: http://localhost:3001
wx_webhook_recv_api_path: /receive_msg
wx_webhook_token: "your_wx_webhook_token"
# Admin
admin_list: [ "文件传输助手", "AdminName" ]
admin_group_list: [ "AdminGroupName" ]
bark_url:
# Bot
bot_name: Cassius
# Chat
command_prefix: /
need_mentioned: False
ban_person_list: [ ]
ban_group_list: [ ]
# LLM
openai_base_api: https://api.openai.com
openai_token: sk_your_openai_token
spark_api: https://spark-api-open.xf-yun.com/v1/chat/completions
spark_model: 4.0Ultra
spark_token: your_spark_token
grok_api: https://api.x.ai/v1/chat/completions
grok_model: grok-beta
grok_token: your_grok_token
# GitHub Webhook
github_webhook_enabled: True
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"