Skip to content

食用方法

yuban10703 edited this page Aug 1, 2021 · 8 revisions

本页面介绍启动插件的一些信息

首先需要一个OPQBOT,然后python3.8+

接下来用Ubuntu20.04演示

首先安装git和pip,sudo apt update && sudo apt install git python3-pip -y ,我这里安装过了..

image-20201005135437023

然后clone项目,git clone https://github.com/yuban10703/OPQ-SetuBot --depth=1

image-20201005134818874

进入项目目录 cd OPQ-SetuBot

安装要用到的包pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

image-20201005140327261

然后填写配置文件

然后保持OPQ运行,没问题的话python3 bot.py就可以直接运行了

image-20210205165842199