Skip to main content

Avalon game plugin for nonebot2

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-avalon

✨ 阿瓦隆游戏插件 ✨

license pypi python

📖 介绍

插件实现了阿瓦隆基本版的所有功能

💿 安装

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

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

plugins = ["nonebot-plugin-avalon"]

⚙️ 配置

该插件无需配置

🎉 使用

指令表

指令 权限 需要@ 范围 说明
.awl 所有人 所有聊天 打开插件帮助
.awl玩法 所有人 所有聊天 查看阿瓦隆在线玩法信息
.awl角色 所有人 所有聊天 查看阿瓦隆游戏角色信息
.awl新游戏 所有人 群聊 在当前群组中开启游戏

更多命令会在游戏过程中介绍和出现

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_avalon-0.2.2.tar.gz (24.1 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_avalon-0.2.2-py3-none-any.whl (31.9 kB view hashes)

Uploaded Python 3

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