Skip to main content

这是利用 QQ 机器人复刻 计算器:游戏 的一个插件。通过给出的操作方式由当前数字达到计算目标。

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-calc-game

✨ 利用 QQ 机器人复刻 计算器:游戏 ✨

license pypi python

📖 介绍

这是利用 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

nonebot_plugin_calc_game-0.0.6.tar.gz (10.6 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_calc_game-0.0.6-py3-none-any.whl (10.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page