Nonebot2 扫雷插件
Project description
nonebot-plugin-minesweeper
适用于 Nonebot2 的 扫雷插件
安装
- 使用 nb-cli
nb plugin install nonebot_plugin_minesweeper
- 使用 pip
pip install nonebot_plugin_minesweeper
使用
以下命令需要加命令前缀 (默认为/
),可自行设置为空
@机器人 + 扫雷 / 扫雷初级 / 扫雷中级 / 扫雷高级
注:若命令前缀为空则需要 @机器人,否则可不@
可使用 -r/--row ROW 、-c/--col COL 、-n/--num NUM 自定义行列数和雷数;
可使用 -s/--skin SKIN 指定皮肤,默认为 winxp;
当前支持的皮肤:narkomania, mine, ocean, scratch, predator, clone, winxp, hibbeler, symbol, pacman, win98, winbw, maviz, colorsonly, icicle, mario, unknown, vista
使用 挖开/open + 位置 来挖开方块,可同时指定多个位置;
使用 标记/mark + 位置 来标记方块,可同时指定多个位置;
位置为 字母+数字 的组合,如“A1”
使用 添加人员 + qq/@ 可以添加人员到游戏内,只能当前局内能进行游戏的人来进行添加
或使用 minesweeper
指令:
minesweeper [-r --row ROW] [-c --col COL] [-n --num NUM] [-s --skin SKIN] [--show] [--stop] [--open POSITIONS] [--mark POSITIONS] [--add USERS]
示例
特别感谢
- mzdluo123/MineSweeper Mirai的扫雷小游戏
- Minesweeper X A minesweeper clone with extra features
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_minesweeper-0.1.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fb61317b4891a3477d8d26f026df3fece48baffa6034402d2ed9fbad73d3f73 |
|
MD5 | 74637bddb767e5d579d1b73d9156495c |
|
BLAKE2b-256 | b60a220a10d586079868d2cceb1fd93eca8dc1ba638ea14a030991ffb8837e84 |
Close
Hashes for nonebot_plugin_minesweeper-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a502ea44464d90fb416e51b4b9a9e9c7e29141ae00c2555d25ceded8e3866ac |
|
MD5 | e1d340201fde8c75634b843cbbc58edb |
|
BLAKE2b-256 | f38964d1ca143649f4d09620e3a53b9733337e79377886a246a4d271662cc591 |