Skip to main content

用于 Nonebot2 的 liar's bar 插件

Project description

NoneBotPluginLogo

nonebot-plugin-liarsbar

✨ Liar's Bar 插件 ✨

license pypi python

这是一个 nonebot2 插件,用于游玩骗子酒馆liar's bar

📖 介绍

和朋友进行一场勾心斗角的酒馆游戏

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-liarsbar
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-liarsbar
pdm
pdm add nonebot-plugin-liarsbar
poetry
poetry add nonebot-plugin-liarsbar
conda
conda install nonebot-plugin-liarsbar

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot-plugin-liarsbar"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
暂无

🎉 使用

指令表

指令 权限 需要@ 范围 参数 说明
/createroom 群员 群聊 [可选] 房间名 创建房间,自动成为房主
/startgame 房主 群聊 与此房间中所有玩家开始一场游戏
/attend 群员 群聊 [必需] 房间名 加入房间名为房间名参数的房间
/fp 游戏中当前操作玩家 群聊 [必需] 牌的序号 打出牌的序号的牌,可以出多张牌,如/fp 1 2 3可打出三张牌
/zy 游戏中当前操作玩家 群聊 质疑上家

效果图

待施工

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_liarsbar-1.0.2.tar.gz (26.0 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_liarsbar-1.0.2-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_liarsbar-1.0.2.tar.gz.

File metadata

  • Download URL: nonebot_plugin_liarsbar-1.0.2.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for nonebot_plugin_liarsbar-1.0.2.tar.gz
Algorithm Hash digest
SHA256 596ebe174d08d50f205a23a557d8c65c16e518de684d939ccbb6a72f59d531b8
MD5 b8ec10475f53da4c4a0c75dc8b83caf6
BLAKE2b-256 f8fe92bbbd9d6039e27d75cf06220e6966713cef6e3954a5b64a4c202fe0a30a

See more details on using hashes here.

File details

Details for the file nonebot_plugin_liarsbar-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_liarsbar-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9193961435a06400d1531868e2301e7a5bfd1609a62af2352be61bd80c5b1ecf
MD5 9de93150b5e6f351e01aa8ee801f8b34
BLAKE2b-256 5737b81ae9e44b13451fbf8527f6058288911c02f32f0834659e3ff434ab19e7

See more details on using hashes here.

Supported by

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