Update 'How to Use.'

This commit is contained in:
2025-02-23 19:44:47 +08:00
committed by GitHub
parent 6f67203cde
commit 8df9b92c8e

View File

@@ -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.