A 24-point game plugin implemented using NoneBot.
Project description
nonebot-plugin-calc24
✨ NoneBot 插件简单描述 ✨
安装
- 使用 nb-cli
nb plugin install nonebot-plugin-calc24
- 使用 pip
pip install nonebot-plugin-calc24
使用
该插件实现的小游戏的游戏规则为一人一题。在插件启动时使用[24点]命令启动游戏。
使用加减乘除使给出的数等于24,在游戏进行时可以直接回复[退出]来退出游戏或者[换一题]来更换新的题目。
如果在5分钟内未回答会自动退出。
使用[24点 help]命令可以查看帮助。
有bug请发邮箱[1095530449@qq.com]
命令
- 24点 help:显示帮助
- 24点:开始游戏
- 换一题:更换新的题目
- 退出:在连续模式结束游戏
- 24点 连续模式:开启连续模式
- 24点 关闭连续模式:关闭连续模式
更新
2024-08-02
- 更改插件的模式储存方式
2024-05-26
- 更新模式切换判断
- └ 缺点:插件在自己或bot重启后会默认关闭连续模式
2024-05-19
- 添加是否进行连续回答模式
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
File details
Details for the file nonebot_plugin_calc24-1.3.14.tar.gz
.
File metadata
- Download URL: nonebot_plugin_calc24-1.3.14.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc1e295e7f3bc1bf50f605425b2d113c76fac389a1006aa1623fc794b85db583 |
|
MD5 | f12439351d0f0be7b01e8db42b9761da |
|
BLAKE2b-256 | 2fb86316917a0ada6f5bab31aeadc64a9ed2b9e9990cdd4f73b989ae70b56b67 |
File details
Details for the file nonebot_plugin_calc24-1.3.14-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_calc24-1.3.14-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7816b73f1ac713af0fdd558c299ba398b93a59823d77342441cfdece19a536f |
|
MD5 | 98e06e9986b770bf515b509e9ab75489 |
|
BLAKE2b-256 | 1a607f9e0fbf558aa0fbf7e083eb8ee6907dce2bb1adac3bf3b1572b8ba4b7ec |