Skip to main content

一个 NoneBot2 桌游约车助手插件,提供桌游群招募、发车、封车等功能。

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-boardgamehelper

✨ NoneBot 桌游约车助手 ✨

license pypi python

📖 介绍

该插件是一个 NoneBot2 桌游约车助手插件,提供桌游群招募、发车、封车等功能。

💿 安装

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

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

plugins = ["nonebot_plugin_boardgamehelper"]

⚙️ 配置

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

配置项 必填 默认值 说明
boardgamehelper_database_url sqlite:///./data/BoardGameHelper/database.db 插件数据库位置,应使用 SQLite URL
boardgamehelper_json_path ./data/BoardGameHelper/json/ JSON 数据存储路径,用于保存配置文件

🎉 使用

指令表

指令 权限 需要@ 范围 说明
发车 用户 私聊/群聊 发布一条新的桌游招募信息
封车 用户 私聊/群聊 关闭自己的桌游招募
查车 用户 群聊 查看当前正在公开的桌游招募信息
开启全群广播 超级用户/群主/管理员 群聊 开启桌游招募广播
关闭全群广播 超级用户/群主/管理员 群聊 关闭桌游招募广播
强制封车 超级用户 群聊 强制关闭一条桌游招募

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_boardgamehelper-1.0.0.tar.gz (11.1 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_boardgamehelper-1.0.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_boardgamehelper-1.0.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_boardgamehelper-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7a99a39f95eab7269bbf263a174e3bc287df947045b7df9b9bf8ec45e2340916
MD5 521b9fc734ded2c2b632333bb019e6b3
BLAKE2b-256 8edbc14ab93e802fa35fe7bec421fb90812427f6b0d2b4cfe374f753320a9fc2

See more details on using hashes here.

File details

Details for the file nonebot_plugin_boardgamehelper-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_boardgamehelper-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ca64c6eb01a6010bdd60f7972746bcbb31883ae4695a28398295b2043f7fc40
MD5 f3f9f945edf8ce6c275f290180b92768
BLAKE2b-256 bd41426f24159cb3a6b4503268dad14de564cfc4a82032bc0fce3dffe623def2

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