mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-24 17:19:40 +00:00
3ec99cc3b8
✨修复 `quiz` 模块问题并添加验证群验证插件
30 lines
543 B
Plaintext
30 lines
543 B
Plaintext
# debug 开关
|
|
DEBUG=false
|
|
|
|
# MySQL
|
|
DB_HOST=127.0.0.1
|
|
DB_PORT=3306
|
|
DB_USERNAME=user
|
|
DB_PASSWORD="password"
|
|
DB_DATABASE=paimon
|
|
|
|
# Redis
|
|
REDIS_HOST=127.0.0.1
|
|
REDIS_PORT=6379
|
|
REDIS_DB=0
|
|
|
|
# 联系 https://t.me/BotFather 使用 /newbot 命令创建机器人并获取 token
|
|
BOT_TOKEN="xxxxxxx"
|
|
|
|
# 记录错误并发送消息通知开发人员
|
|
ERROR_NOTIFICATION_CHAT_ID=chat_id
|
|
|
|
# 文章推送群组
|
|
CHANNELS=[{ "name": "", "chat_id": 1}]
|
|
|
|
# bot 管理员
|
|
ADMINS=[{ "username": "", "user_id": -1 }]
|
|
|
|
# 群验证功能
|
|
JOINING_VERIFICATION_GROUPS=[]
|