nonebot-plugin-duel
Project description
## 📖 介绍
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秒内的一个随机时间喊出`开始`,在这之后最先发送`开枪`的博士胜出,在喊开始之前发送的博士会被视为犯规。
💡 感谢
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot_plugin_duel-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6c3d7a214039ee2a89bc578e2f62b8913c6726eb4a8bae97645326453df6133 |
|
MD5 | 60de2d33ba1779e5277b73145f067c29 |
|
BLAKE2b-256 | aec9c964afe466279234d4e89feda2454a742241ada723f5ca756e54b6dabce2 |
Close
Hashes for nonebot_plugin_duel-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d484d0493bfd8164b026103c7bdc124322744d0f0e0b78c5f6365b873612e28 |
|
MD5 | d867c45df9a0b612b7605111fec0382d |
|
BLAKE2b-256 | 8bcda08a7311884d992219a8ea5c1ad16904e75e867f1cab048f2f16116967e7 |