Skip to main content

Nonebot2 扫雷插件

Project description

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”

示例

特别感谢

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

Uploaded Source

Built Distribution

nonebot_plugin_minesweeper-0.4.1-py3-none-any.whl (106.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nonebot_plugin_minesweeper-0.4.1.tar.gz
Algorithm Hash digest
SHA256 141118697145a52cd3883f0c5310a2a3373b5b259f7a8a1082d5a7432319de58
MD5 27988f1c27405bffa5cbd5c992923177
BLAKE2b-256 07e950a1951da7b4a6cc9360288e4dff54f2fa8409840360b033a82a151feade

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_minesweeper-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4ac1bad001ccb4d42e6699ff79c8d61bff92d20b88be262068ebbbb9ad8ede1b
MD5 e3806d3312c78668db26622a8dc42fe3
BLAKE2b-256 a46e80553ad6164d9d9a88f4584779549464af24943df5d577a0756b7e78d65c

See more details on using hashes here.

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