- Create a file named
acmhelper.env
. - Add the following line to the file:
port={Your port}
If this is not set, the system proxy will not be used.
- To set the environment, you can either run the script:
python \myScript\setEnv.py
or directly add the following line to the acmhelper.env
file:
port={Your system proxy port}
- If you choose to run locally, it will not link to QQ and will load a console. Otherwise, it will attempt to connect to your QQ server, which might be Lagrange.
- Generate a project using:
nb create
- Install plugins using:
nb plugin install
- Run your bot using:
nb run
For more detailed information, please refer to the NoneBot Documentation.