Skip to main content

全新复读姬,支持文本、图片、表情甚至是转发分享卡片复读,任意群聊触发 +1,姬就 +1。轻巧、专注,不使用任何数据库,不使用任何文件存储

Project description

🐣🐤一个仅有40行代码的复读姬 ✨

_✨ 只是一个复读姬:支持群聊白名单、文本复读、图片表情复读、甚至是转发和分享的复读 ✨_

license pypi python

快速安装

第一步:右上角 ↗ 点个不要钱的 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

nonebot_plugin_plus_one-0.1.9.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_plus_one-0.1.9-py3-none-any.whl (3.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