HeXi/.env
sansenhoshi 275f05ee4a 重构
2026-01-04 17:15:40 +08:00

92 lines
2.8 KiB
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

DEBUG=true
HOST=127.0.0.1 # 配置 NoneBot 监听的 IP / 主机名
PORT=49696 # 配置 NoneBot 监听的端口
COMMAND_START=["","/"] # 配置命令起始字符
COMMAND_SEP=["."] # 配置命令分割字符
DRIVER=~fastapi+~websockets+~httpx+~aiohttp
LOG_LEVEL=INFO
SUPERUSERS=["2931589710"] # 超级管理员
NICKNAME=["arisu"] # 机器人昵称
# 数据存储
# https://github.com/he0119/nonebot-plugin-datastore
DATASTORE_DATA_DIR=./hexi/data
DATASTORE_CONFIG_DIR=./hexi/data/config
DATASTORE_CACHE_DIR=./hexi/data/cache
DATASTORE_DATABASE_ECHO=false
LOCALSTORE_USE_CWD=True
# DATASTORE_DATABASE_URL=""
# 群管配置
# 是否开启禁言等操作的成功提示【不开启的话踢人/禁言等成功没有QQ消息提示】
callback_notice=true # 如果不想开启设置成 false 或者不添加此配置项【默认关闭】
send_group_id = ["10086"] # 必填 群号
send_switch_morning = False # 选填 True/False 默认开启 早上消息推送是否开启
send_switch_night = False # 选填 True/False 默认开启 晚上消息推送是否开启
send_mode = 1 # 选填 默认模式2 模式1发送自定义句子模式2随机调用一句
send_sentence_morning = ["句子1","句子2","..."] # 如果是模式1 此项必填,早上随机发送该字段中的一句
send_sentence_night = ["句子1","句子2","..."] # 如果是模式1 此项必填,晚上随机发送该字段中的一句
send_time_moring = "8 0" # 选填 早上发送时间默认为7:00
send_time_night = "23 0" # 选填 晚上发送时间默认为22:00
# 图片系统状态
# 使用 .env 中配置的 NICKNAME 作为图片上的 Bot 昵称(可不填)
PS_USE_ENV_NICK=True
# PS_TEST_SITES='
# [
# {"name": "百度", "url": "https://www.baidu.com/"},
# {"name": "YT", "url": "https://www.youtube.com/"},
# {"name": "谷歌", "url": "https://www.google.com/"},
# ]
MCSTAT_FONT="data/font/SourceHanSansCN-Medium.otf"
MCSTAT_SHORTCUTS='
[
{"regex": "^查服$", "host": "sansenhoshi.online:48899", "type": "je","whitelist":[
"872490448","170394809"
]}
]
'
# nonebot_plugin_mcqq_server
group_list=[170394809,872490448] # QQ群
mc_log_path="E:/Earth3/Server/logs" # log文件夹地址
mc_ip="192.168.10.116" # 服务器 IP
mcrcon_password="1145141919810" # MCRcon password
mcrcon_port=25575 # MCRcon 端口
# 词云配置文件
wordcloud_background_color="white"
help_at_sender = true
mc_status_admin_qqnum = [2931589710]
# 表情包制作
memes_use_sender_when_no_image = True
# steam
STEAM_API_KEY=["53A64539C4E11B2480AC47F2D8251728","E06B95CA4D15EB73E053EE190A528ECE"]
STEAM_DISABLE_BROADCAST_ON_STARTUP = True
STEAM_REQUEST_INTERVAL=150
STEAM_BROADCAST_TYPE="part"
# 点歌
NCM_LIST_LIMIT = 10
# B站解析
analysis_display_image = true