这是利用 QQ 机器人复刻 计算器:游戏 的一个插件。游戏玩法:通过给出的操作方式由当前数字达到计算目标,分步直接发送机器人给出的“操作方式”中的单引号内内容。
Project description
📖 介绍
这是利用 QQ 机器人复刻 计算器:游戏 的一个插件。游戏玩法:通过给出的操作方式由当前数字达到计算目标,分步直接发送机器人给出的“操作方式”中的单引号内内容。
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-calc-game
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-calc-game
pdm
pdm add nonebot-plugin-calc-game
poetry
poetry add nonebot-plugin-calc-game
conda
conda install nonebot-plugin-calc-game
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_calc_game"]
⚙️ 配置
无必填配置
🎉 使用
指令表
指令 | 权限 | 需要@ | 范围 | 说明 |
---|---|---|---|---|
/calc |
群员 | 否 | 群聊 | 随机抽取一个谜题 |
/calc [num] |
群员 | 否 | 群聊 | 抽取指定谜题 |
/calc 帮助 |
群员 | 否 | 群聊 | 发送帮助内容 |
/calc 结束 |
群员 | 否 | 群聊 | 结束当前谜题 |
效果图
📄 许可证
本项目使用 MIT 许可证开源
Project details
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_calc_game-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef84488831006e5b968df9a0564dd594a4a81b53d680999edf8d0ede36c743c4 |
|
MD5 | 99500fd8f9a040bb769b71e664151a4d |
|
BLAKE2b-256 | 0bdabd11a13edf471aa072a4772febf69ab701bbe6e57a866cab0b8cad11658f |
Close
Hashes for nonebot_plugin_calc_game-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b187b75ff412b079fb2ec562d5fadd675d185b2bda875ea1e78821476145071a |
|
MD5 | 266c1eae12021eaf5d1b0fe2106f0430 |
|
BLAKE2b-256 | 39bf6fcfc7d2f8465a46bf99041e2057dd007d5017be85817fbb397117173550 |