Internet Genius - Akinator
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 工具库
💰 赞助
感谢大家的赞助!你们的赞助将是我继续创作的动力!
📝 更新日志
0.2.0
- 适配 Pydantic V1 & V2
- 换用 alconna
0.1.3
- 支持更多平台
- 删除猜出角色后继续猜的功能,因为有 Bug
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.2.0.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ce07151976a9bd441580660a1b927b4547daf37ccc5758848affb1893f5b38b |
|
MD5 | 3307cdeec5cce67b4f046300603c58f7 |
|
BLAKE2b-256 | 78a42b101be2b437defdccef161d8c287c59be5a687d349174ae4d720da16c5c |
Close
Hashes for nonebot_plugin_akinator-0.2.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 146cd40f950f97f8ac8a7d662f7f4621f06c08763d0c8edbfb7eda963fa491d0 |
|
MD5 | 62a70680af7f95a110ebc30ee4c8935f |
|
BLAKE2b-256 | 10117dacae391af4e00b7571f1bece27fe06c08a262617001db99f1dbf6a3360 |