Skip to main content

nonebot-plugin-duel

Project description

nonebot

nonebot-plugin-vits-tts

✨ 来一场西部牛仔决斗吧 ✨

license Python pypi

## 📖 介绍 NoneBot2决斗插件

已兼容pydantic v1&v2

💿 安装

nb-cli
nb plugin install nonebot-plugin-duel
pip
pip install nonebot_plugin_duel

⚙️ 配置

默认配置示例

# 机器人的自称
DUEL__NICKNAME=阿米娅
# 插件的黑名单用户,是一个int类型的列表
DUEL__BLACKLISTED_USERS=[]

🎉 使用

  • 发送关键词决斗并@一个人即可和他发起决斗,例如决斗@阿米娅
  • 在同一个群里,未结束先前的决斗不会开启新的决斗
- 说 `兔兔,我要与[@一个人]决斗` 
- 对方需在30秒内回复`同意`,否则决斗会取消。
- 接下来,阿米娅会在60秒内的一个随机时间喊出`开始`,在这之后最先发送`开枪`的博士胜出,在喊开始之前发送的博士会被视为犯规。

💡 感谢

此插件基于AmiyaBot决斗插件 移植而来

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_duel-0.1.2.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_duel-0.1.2-py3-none-any.whl (7.6 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