Skip to main content

nonebot-plugin-minesweeper

适用于 Nonebot2 的 扫雷插件

安装

  • 使用 nb-cli
nb plugin install nonebot_plugin_minesweeper
  • 使用 pip
pip install nonebot_plugin_minesweeper

配置项

以下配置项可在 .env.* 文件中设置,具体参考 NoneBot 配置方式

minesweeper_default_skin

  • 类型:str
  • 默认:winxp
  • 说明:扫雷默认皮肤

使用

以下命令需要加命令前缀 (默认为/),可自行设置为空

@机器人 + 扫雷 / minesweeper / 扫雷初级 / 扫雷中级 / 扫雷高级

注:若命令前缀为空则需要 @机器人,否则可不@

可使用 -r/--row ROWS 、-c/--col COLS 、-n/--num NUMS 自定义行列数和雷数;

可使用 -s/--skin SKIN 指定皮肤,默认为 winxp;

当前支持的皮肤:narkomania, mine, ocean, scratch, predator, clone, winxp, hibbeler, symbol, pacman, win98, winbw, maviz, colorsonly, icicle, mario, unknown, vista

使用 挖开/open/wk + 位置 来挖开方块,可同时指定多个位置;

使用 标记/mark/bj + 位置 来标记方块,可同时指定多个位置;

位置为 字母+数字 的组合,如“A1”

示例

特别感谢

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_minesweeper-0.4.2.tar.gz (104.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_minesweeper-0.4.2-py3-none-any.whl (106.6 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_minesweeper-0.4.2.tar.gz.

File metadata

  • Download URL: nonebot_plugin_minesweeper-0.4.2.tar.gz
  • Upload date:
  • Size: 104.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.0 Linux/6.5.0-1025-azure

File hashes

Hashes for nonebot_plugin_minesweeper-0.4.2.tar.gz
Algorithm Hash digest
SHA256 579d02201b91b64c1cad80c7f74055e27daf2b0005d3e8da51d0d1dbf17bb92f
MD5 3bb979fe7a36752a119483d183f7ae4b
BLAKE2b-256 9a1df48961030b205cc4c3b8032c301703e431a24e14f0eb0237e52810405722

See more details on using hashes here.

File details

Details for the file nonebot_plugin_minesweeper-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_minesweeper-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f8fc64baccda3e8b449844c9ebe51ae39abf629d118a27dda849af5258d56230
MD5 84021551f62dcbfb1a5562d375f748a4
BLAKE2b-256 f1ef754df6d75fb78378cb59019f80dcea25a3431065cc16cf3f312f410512cd

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 files

0.4.1

2 files

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page