https://github.com/yejue/nonebot-plugin-plus-one
复读姬,支持文本、图片表情甚至是转发卡片、分享卡片、小程序的复读。不依赖任何数据库的群聊复读姬,轻巧灵活。任意群聊+1,姬就+1
https://github.com/yejue/nonebot-plugin-plus-one
nonebot repeater
Last synced: 11 months ago
JSON representation
复读姬,支持文本、图片表情甚至是转发卡片、分享卡片、小程序的复读。不依赖任何数据库的群聊复读姬,轻巧灵活。任意群聊+1,姬就+1
- Host: GitHub
- URL: https://github.com/yejue/nonebot-plugin-plus-one
- Owner: yejue
- License: mit
- Created: 2024-05-23T08:26:09.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T15:42:41.000Z (about 2 years ago)
- Last Synced: 2025-06-25T03:46:05.974Z (about 1 year ago)
- Topics: nonebot, repeater
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 50
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🐣🐤一个仅有40行代码的复读姬 ✨
_✨ 只是一个复读姬:支持群聊白名单、文本复读、图片表情复读、甚至是转发和分享的复读 ✨_
## 快速安装
第一步:右上角 ↗ 点个不要钱的 star 吧,这是不断维护更新的动力。
### nb-cli
```shell
nb plugin install nonebot-plugin-plus-one
```
### pip
```shell
pip install nonebot-plugin-plus-one
```
### git
```shell
cd /your-nonebot-project-home/plugins/
git clone https://github.com/yejue/nonebot-plugin-plus-one.git
```
## 示例
```text
[群1]: 你好
[群1]: 你好
[机器人]: 你好
[群2]: 表情
[群2]: 表情
[机器人]: 表情
[群2]: 分享音乐
[群2]: 分享音乐
[机器人]: 分享音乐
```
## 配置
```text
# 匹配优先级
PLUS_ONE_PRIORITY = 10
# 群聊或私聊白名单,单个或多个示例,下面任选其一,可填入群 QQ 号或个人 QQ 号
PLUS_ONE_WHITE_LIST = ["10000000"]
PLUS_ONE_WHITE_LIST = ["10000000", "1000000"]
```