mirror of
https://github.com/N1ngYu/SaltBot.git
synced 2025-09-28 08:42:40 +08:00
Update 'How to Use.'
This commit is contained in:
18
README.md
18
README.md
@@ -1,2 +1,20 @@
|
||||
# SaltBot
|
||||
A QQbot Based on Nonebot.
|
||||
|
||||
--------
|
||||
# How to Use
|
||||
> [!CAUTION]
|
||||
> This guide assumes you have basic programming & networking knowledge.
|
||||
> This bot will need change some code to run correctly.
|
||||
|
||||
|
||||
1. Install [Python3.12](https://www.python.org/downloads/release/python-3129/)
|
||||
2. Install [Nonebot](https://nonebot.dev/docs/quick-start)
|
||||
3. Download this repo.
|
||||
4. Change the script path on /.venv/Lib/site-packages/nonebot_plugin_maimai_helper/__init__.py, line 87, 93, 201, 204 and line 205. (Please ignore my sh!t code, thanks.)
|
||||
5. Run `nb run` in the SaltBot folder.
|
||||
|
||||
> [!NOTE]
|
||||
> This bot will use MySQL to storge your & others Userid & Token.
|
||||
> Make sure your have a MySQL database on your device.
|
||||
> You can change IP(/nonebot_plugin_maimai_helper/util/utils.py) if your database isn't on your local device.
|
||||
|
||||
Reference in New Issue
Block a user