全新复读姬,支持文本、图片、表情甚至是转发分享卡片复读,任意群聊触发 +1,姬就 +1。轻巧、专注,不使用任何数据库,不使用任何文件存储
Project description
🐣🐤一个仅有40行代码的复读姬 ✨
_✨ 只是一个复读姬:支持群聊白名单、文本复读、图片表情复读、甚至是转发和分享的复读 ✨_
快速安装
第一步:右上角 ↗ 点个不要钱的 star 吧,这是不断维护更新的动力。
nb-cli
nb plugin install nonebot-plugin-plus-one
pip
pip install nonebot-plugin-plus-one
git
cd /your-nonebot-project-home/plugins/
git clone https://github.com/yejue/nonebot-plugin-plus-one.git
示例
[群1]: 你好
[群1]: 你好
[机器人]: 你好
[群2]: 表情
[群2]: 表情
[机器人]: 表情
[群2]: 分享音乐
[群2]: 分享音乐
[机器人]: 分享音乐
配置
# 匹配优先级
PLUS_ONE_PRIORITY = 10
# 群聊或私聊白名单,单个或多个示例,下面任选其一,可填入群 QQ 号或个人 QQ 号
PLUS_ONE_WHITE_LIST = ["10000000"]
PLUS_ONE_WHITE_LIST = ["10000000", "1000000"]
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
Built Distribution
File details
Details for the file nonebot_plugin_plus_one-0.1.10.tar.gz
.
File metadata
- Download URL: nonebot_plugin_plus_one-0.1.10.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.11 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e9d33da14d3218bb0c7cfd413367c9b6290987158827c5ce6e1ca47bd777427 |
|
MD5 | bfe04cb9229ad73e795f919ccd6c6615 |
|
BLAKE2b-256 | 64c1f7386110395520b3898eada2140cb488e8b972619d8964c2221163764981 |
File details
Details for the file nonebot_plugin_plus_one-0.1.10-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_plus_one-0.1.10-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.11 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f4c87fa1655561f06b15a2198b0381910515c799f54abb92151b6764d6ca703 |
|
MD5 | c5ded28d2a03da2f455740cf9b4e7590 |
|
BLAKE2b-256 | 66f88b3a1d5a18e2217cee5a23602cdaf500db428fc1439bb98066cb1b401eca |