移植自真寻的q群小游戏
Project description
只因进化录
移植自真寻的只因进化录
安装
插件安装
pip install nonebot_plugin_ikun_evolution
在 nonebot2 项目中设置 load_plugin()
nonebot.load_plugin('nonebot_plugin_ikun_evolution')
数据库配置
你需要安装一个postgresql数据库才能进行游戏
安装完毕后,在env.dev
里填上刚刚的数据库链接
psql = "postgresql://名字:密码@127.0.0.1:5432/数据库名字"
如果按真寻教程就是
psql = "postgresql://uname:zhenxun@127.0.0.1:5432/testdb"
这步有点困难,好处是再也不用担心误删数据库了。请加油罢
已知问题
pip install的话,初始运行报找不到json文件夹错误
去相应目录下创建json文件夹(我明天修一下,pypi把我的空文件夹删了...)
第一次运行没有成功加载配置文件,需要第二次运行才可以
谜,明天我也修一下
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot_plugin_ikun_evolution-1.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb59fa578fbf4e6f44deede0ae6fb64700fc3522a8dccdf8332216ad0bf2fe23 |
|
MD5 | 1b81cef4a9a6da2262e7f017f10e09dc |
|
BLAKE2b-256 | c0dda782d4dedc35dec76c22a151b61d5d32d18042b6a0c640f9c88c04ff7727 |
Close
Hashes for nonebot_plugin_ikun_evolution-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 429de7de3c7df9e99f4c5dc3949a3d3eb0effc4d30083a4a2c217e6c48f642da |
|
MD5 | 86a74d706cf89c1128e2207c642e03d4 |
|
BLAKE2b-256 | 03cb332c3b6d343635623f3151b42f7436725fa22a262e0d13e400c18c4858cf |