这是利用 QQ 机器人复刻 计算器:游戏 的一个插件。通过给出的操作方式由当前数字达到计算目标。
Project description
📖 介绍
这是利用 QQ 机器人复刻 计算器:游戏 的一个插件。游戏玩法:通过给出的操作方式由当前数字达到计算目标,分步直接发送给定的“操作方式”。操作后负数保留负号,数字最多八位,负号放在最前面。目前仅支持 onebot.v11。
部分原版答案请见 solve 文件夹。
反馈请加作者 QQ:2378975755。注明 插件反馈。
💿 安装
使用 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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c04deb9f9f50be13752751c76c8a93ff2e523ec1ac1ae4559d5cd8fce710ba3f |
|
MD5 | 2e49682b5a1469440e7ad9e8baaca588 |
|
BLAKE2b-256 | d53dee34210220a48c54a6e8b3c70b99087aef90879d18a6328411a29ba0f347 |
Close
Hashes for nonebot_plugin_calc_game-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd7d0ba63bda194115446522f7ef3cc2832f449d0f74f0bb4211afecef3d62c0 |
|
MD5 | b93ac9737c39e5d5d59d6e76b373c1cd |
|
BLAKE2b-256 | 8633afb239e67aa634956c833582d00f92bd583570aaa52f052d87781b76195a |