-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path.env
152 lines (128 loc) · 3.63 KB
/
.env
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# NoneBot2 配置
# https://nonebot.dev/docs/appendices/config#%E5%86%85%E7%BD%AE%E9%85%8D%E7%BD%AE%E9%A1%B9
DRIVER=~fastapi+~aiohttp
HOST=0.0.0.0
PORT=8080
NICKNAME=[]
SUPERUSERS=[]
COMMAND_START=["/", "/"]
COMMAND_SEP=[".","。"]
# 机器人实现配置 -----------------------------
# OneBot 配置
# https://onebot.adapters.nonebot.dev/docs/guide/configuration
ONEBOT_ACCESS_TOKEN
ONEBOT_V12_ACCESS_TOKEN
ONEBOT_V12_USE_MSGPACK=true
# Red
# https://github.com/nonebot/adapter-red
RED_BOTS=[]
# QQ
# https://github.com/nonebot/adapter-qq
QQ_BOTS=[]
QQ_IS_SANDBOX=false
# 开黑啦
# https://github.com/Tian-que/nonebot-adapter-kaiheila/blob/master/MANUAL.md
KAIHEILA_BOTS=[]
# Satori
# https://github.com/nonebot/adapter-satori
SATORI_CLIENTS=[]
# DoDo
# https://github.com/nonebot/adapter-dodo
DODO_BOTS=[]
# Discord
# https://github.com/nonebot/adapter-discord
DISCORD_BOTS=[]
DISCORD_PROXY
# Telegram
# https://github.com/nonebot/adapter-telegram/blob/beta/MANUAL.md
TELEGRAM_BOTS=[]
TELEGRAM_PROXY
# 内部插件配置 -----------------------------
# fflogs
# https://cn.fflogs.com/profile
# 网页API 处获取 Token
FFLOGS_RANGE=14
FFLOGS_CACHE_TIME=04:30:00
FFLOGS_TOKEN
# 早安
# 每日早安定时发送时间
MORNING_TIME=08:00:00
# 天气
# https://console.qweather.com/#/apps
HEWEATHER_KEY
# OpenAI
# https://platform.openai.com/docs/assistants/quickstart
OPENAI_API_KEY
OPENAI_MODEL=gpt-4o
OPENAI_ENABLED_GROUPS=[]
OPENAI_PROXY
# 外部插件配置 -----------------------------
# Treehelp
# https://github.com/he0119/nonebot-plugin-treehelp
TREEHELP_IGNORED_PLUGINS=["Sentry日志监控"]
# 词云
# https://github.com/he0119/nonebot-plugin-wordcloud
WORDCLOUD_COLORMAP=viridis
WORDCLOUD_BACKGROUND_COLOR=black
WORDCLOUD_STOPWORDS_PATH
WORDCLOUD_USERDICT_PATH
WORDCLOUD_TIMEZONE
# 数据存储
# https://github.com/nonebot/plugin-localstore
LOCALSTORE_DATA_DIR=./data
LOCALSTORE_CONFIG_DIR=./data/config
LOCALSTORE_CACHE_DIR=./data/cache
# 数据库
# https://github.com/nonebot/plugin-orm
SQLALCHEMY_ECHO=false
SQLALCHEMY_DATABASE_URL=
# Sentry
# https://github.com/nonebot/plugin-sentry
# https://sentry.io/
SENTRY_ENVIRONMENT=prod
SENTRY_DSN
SENTRY_INTEGRATIONS=[]
# nonebot-plugin-status
# https://github.com/nonebot/plugin-status
SERVER_STATUS_ONLY_SUPERUSERS=false
SERVER_STATUS_TEMPLATE='
CPU: {{ "%02d" % cpu_usage }}%
Memory: {{ "%02d" % memory_usage.percent }}%
Runtime: {{ runtime | relative_time | humanize_delta }}
{% if swap_usage.total %}Swap: {{ "%02d" % swap_usage.percent }}%{% endif %}
'
# Nonebot-bison
# https://nonebot-bison.netlify.app/usage/#%E9%85%8D%E7%BD%AE
# https://github.com/MountainDash/nonebot-bison/blob/main/nonebot_bison/plugin_config.py
BISON_PROXY
BISON_SKIP_BROWSER_CHECK=true
BISON_CONFIG_PATH=./data/bison
BISON_USE_PIC=false
BISON_OUTER_URL=http://localhost:8080/bison
BISON_USE_PIC_MERGE=0
BISON_TO_ME=false
BISON_USE_BROWSER=true
# nonebot-plugin-memes
# https://github.com/noneplugin/nonebot-plugin-memes?tab=readme-ov-file#%E9%85%8D%E7%BD%AE%E9%A1%B9
MEMES_COMMAND_PREFIXES=["/表情包制作 ", "/表情包制作 ", "/表情包 ", "/表情包 "]
MEMES_DISABLED_LIST=[]
MEMES_CHECK_RESOURCES_ON_STARTUP=true
MEMES_PROMPT_PARAMS_ERROR=true
MEMES_USE_SENDER_WHEN_NO_IMAGE=false
MEMES_LIST_IMAGE_CONFIG='
{
"sort_by": "keywords",
"sort_reverse": false,
"text_template": "{keywords}",
"add_category_icon": true,
"label_new_timedelta": "P30D",
"label_hot_threshold": 10,
"label_hot_days": 7
}
'
# NoneBot-Plugin-BAWiki
# https://github.com/lgc-NB2Dev/nonebot-plugin-bawiki
BA_PROXY
BA_SCHALE_URL=https://schale.gg/
BA_SCHALE_MIRROR_URL=https://schale.lgc2333.top/
BA_BAWIKI_DB_URL=https://bawiki.lgc2333.top/