Template plugin project
Project description
📖 介绍
把网络天才 Akinator 搬进你的 Bot !
💿 安装
以下提到的方法 任选其一 即可
[推荐] 使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-akinator
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-akinator
pdm
pdm add nonebot-plugin-akinator
poetry
poetry add nonebot-plugin-akinator
conda
conda install nonebot-plugin-akinator
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分的 plugins
项里追加写入
[tool.nonebot]
plugins = [
# ...
"nonebot_plugin_akinator"
]
⚙️ 配置
在 nonebot2 项目的.env
文件中添加下表中的必填配置
配置项 | 必填 | 默认值 | 说明 |
---|---|---|---|
PROXY |
否 | 无 | 访问 Akinator 使用的代理 |
AKINATOR_CHILD_MODE |
否 | False |
是否启用 Akinator 的儿童模式(结果不会出现 NSFW 角色) |
AKINATOR_LANGUAGE |
否 | cn |
Akinator 的语言 |
🎉 使用
发送指令 akinator
/ aki
即可开始游戏
开始游戏后,直接发送你的答案即可(序号和文字均可)
效果图
点击展开
📞 联系
QQ:3076823485
Telegram:@lgc2333
吹水群:1105946125
邮箱:lgc2333@126.com
💡 鸣谢
Infiniticity/akinator.py
- Akinator API 的封装
MeetWq/pil-utils
- Pillow 工具库
💰 赞助
感谢大家的赞助!你们的赞助将是我继续创作的动力!
-
赞助二维码(点击展开)
📝 更新日志
芝士刚刚发布的插件,还没有更新日志的说 qwq~
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-akinator-0.1.0.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccb579039f4177d14f09913fc5f3dacdc286dbac9316d8650cd6ec01a254faca |
|
MD5 | 72461024f34d2d3ef22df75a3e3f5100 |
|
BLAKE2b-256 | 48f118f387817a00124a490a5ee688a001b263ef9c40b9b2e04425ba1960f813 |
Close
Hashes for nonebot_plugin_akinator-0.1.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dbf7e133c6ab82174fd28798e12a16740017f948a0104d8b017e1e20520e32e |
|
MD5 | e867d285b698062b924e7cb855ceb31e |
|
BLAKE2b-256 | 80c610772b99915a091fecd14512efb6874bbc5a7888c3efd5d749815c98d369 |