Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
MuRainBot
MuRainBot2
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
MuRainBot2
/
config.yml
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
35 lines (28 loc) · 1.79 KB
master
Breadcrumbs
MuRainBot2
/
config.yml
Copy path
Top
File metadata and controls
Code
Blame
35 lines (28 loc) · 1.79 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
# MuRainBot2配置文件
account: # 账号相关
user_id: 0 # QQ账号(留空则自动获取)
nick_name: "" # 昵称(留空则自动获取)
bot_admin: []
api: # Api设置(Onebot HTTP通信)
host: '127.0.0.1'
port: 5700
access_token: "" # HTTP的Access Token,为空则不使用(详见https://github.com/botuniverse/onebot-11/blob/master/communication/authorization.md#http-%E5%92%8C%E6%AD%A3%E5%90%91-websocket)
server: # 监听服务器设置(Onebot HTTP POST通信)
host: '127.0.0.1'
port: 5701
server: 'werkzeug' # 使用的服务器(werkzeug或waitress,使用waitress需先pip install waitress)
max_works: 4 # 最大工作线程数
secret: "" # 上报数据签名密钥(详见https://github.com/botuniverse/onebot-11/blob/master/communication/http-post.md#%E7%AD%BE%E5%90%8D)
thread_pool: # 线程池相关
max_workers: 10 # 线程池最大线程数
qq_data_cache: # QQ数据缓存设置
enable: true # 是否启用缓存(非常不推荐关闭缓存,对于对于需要无缓存的场景,推荐在插件内自行调用api来获取而非关闭此配置项)
expire_time: 300 # 缓存过期时间(秒)
max_cache_size: 500 # 最大缓存数量(设置过大可能会导致报错)
debug: # 调试模式,若启用框架的日志等级将被设置为debug,不建议在生产环境开启
enable: false # 是否启用调试模式
save_dump: false # 是否在发生异常的同时保存一个dump错误文件(不受debug.enable约束,独立开关,若要使用请先安装coredumpy库,不使用可不安装)
auto_restart_onebot: # 在Onebot实现端状态异常时自动重启Onebot实现端(需开启心跳包)
enable: true # 是否启用自动重启
command: # 命令相关
command_start: ["/"] # 命令起始符
You can’t perform that action at this time.