Perfect Bot for QQ.
First, clone this project.
git clone https://github.com/Latingtude/RE-ToolsBot.git
Choose one of the following two actions
Install dependencies(Main Environment)
Install requirements using this python script:python ./installTB.py
Or, install requirements directly
pip install -r ./install/requirements.txt
Install dependencies(Virtual Environment)
1.Install Python version 3.10 or higher2.Run pip install poetry
3.Run poetry install
(Note: Are there really people who would want to deploy this project in the main environment?)
(Only create a blank project, use global install)
After all actions, edit .env.prod .env.dev bot.py 'SUPERUSER' configure section to your qq Number.
Then, open data/configuration_template.toml, edit AI-ApiKEY. Rename it to data/configuration.toml
If you do not need AI skill, just data/configuration_template.toml to data/configuration.toml is best choice.
Run nb run --reload to boot this bot.
First install NapCat and login with the Bot's QQ account. https://github.com/NapNeko/NapCatQQ.
Then, in "Network Configuration" --> New --> WebSocket Client, fill in the name, URL, and token
Note
Thanks for project under. I used some code from them.
Warning
This project is not stable.
Please don't direct clone this repo.
I can't do check my code anytime.
If you found a issue, please make a issue context in Github Issues !


