Skip to content

Latest commit

 

History

History
93 lines (65 loc) · 2.17 KB

File metadata and controls

93 lines (65 loc) · 2.17 KB

TLoH Bot

Perfect Bot for QQ.

How to use it?

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 higher

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

How to connect bot to QQ?

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

Napcat1 Napcat2

Thanks

Note

Thanks for project under. I used some code from them.

NoneBot Plugin Admin

Tips

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 !