Skip to main content

A basic plugin that meets a lot of your needs!

Project description

NoneBotPluginLogo

NoneBotPluginText

别嘲笑我的构图了,我第一次做(T_T)

nonebot-plugin-QQEssentials

✨ 一个能够满足你很多需求的基础插件! ✨

python3 License

📖 介绍

这是一个强大的QQ基础插件,覆盖了群聊管理,好友互动,Bot个人信息状态修改等功能,让你只需要使用指令就能解决很多繁琐的操作!

项目的发展少不了你们的 Issue,请对此插件提出意见或功能请求,我将尽可能实现你们的要求!

💿 安装

[!IMPORTANT] 此插件只支持 nonebot-adapter-onebot 驱动器

以下提到的方法 任选其一 即可

[推荐] 使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-qqessentials
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-qqessentials
pdm
pdm add nonebot-plugin-qqessentials
poetry
poetry add nonebot-plugin-qqessentials
conda
conda install nonebot-plugin-qqessentials
uv
uv add nonebot-plugin-qqessentials

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分的 plugins 项里追加写入

[tool.nonebot]
plugins = [
    # ...
    "nonebot-plugin-qqessentials"
]

⚙️ 配置

env 配置示例,变量后面为默认配置:

# 超级用户,必须设置,不然大部分指令无法使用
配置多个超级用户:["123456","234567"]
superusers=[""]

# 命令头,可选配置,默认为 "/"
command_start=["/"]

# 头像上传超时时间(秒)
avatar_upload_timeout=30

# 默认点赞次数,SVIP可考虑修改到20次
default_like_times=10

# 删除好友功能开关(默认关闭,安全考虑)
enable_delete_friend=False

# 加群请求信息推送开关(默认关闭)
enable_group_request_notify=False

# 加群请求推送目标群号列表(只有这些群的加群请求会推送到对应群)
需要 enable_group_request_notify=True
多个群号用逗号分隔,如:["123456789","987654321"]
group_request_notify_target=[]

🎉 使用

主要指令

"/" 则需要配置 COMMAND_START (默认为 "/")
"*" 则为 SUPERUSERS 才可以触发
"&" 则为 群管理,SUPERUSERS 才可以触发

  • */QQEss帮助 - 主要帮助,有多个分页
  • */状态设置 - 机器人在线状态设置,支持40+种个性状态,详情请见 /状态帮助
  • */发送私聊 群消息 123456 - 详情请见 /消息发送帮助
  • %/同意加群请求 or /拒绝加群请求 [理由] - 处理群聊的加群请求,需要配置 group_request_notify_target
  • %设精 取精 - 对消息进行精华设置/取消操作
  • 戳我 - 戳戳你的❤
  • 戳@Murasame - 戳戳丛雨酱❤Ciallo~(∠・ω< )⌒★(此处指的是你在群内@的对象)

效果图

Ciallo~(∠・ω< )⌒★

📞 联系

TG群组:点此加入 柚子厨群:1049319982 邮箱:congyu@sbhfy.cn

💡 鸣谢

NapCat - 高强度研究其接口实现不同功能

📝 更新日志

芝士刚刚发布的插件,还没有更新日志的说 qwq~

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_qqessentials-0.1.0.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_qqessentials-0.1.0-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_qqessentials-0.1.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_qqessentials-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9d04c27fb46fea84cc88c2a727da779dcbc1a14336c8bafc0c3ba2d74f15c214
MD5 9e8a11a6916320e144454578cc0fe73b
BLAKE2b-256 1f6bb2d1775c27c5cadf1799e2237c7ce4cdd58f0d5d98f47170fb2d1838a164

See more details on using hashes here.

File details

Details for the file nonebot_plugin_qqessentials-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_qqessentials-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 507be30202fd5bc56f28ed0d51a715ffa36d787131aa8c48550ca9ff531f1cb3
MD5 fed62729c95d5485b316ad899895f2e4
BLAKE2b-256 ed48a8622be99237552110b0c9bfe37bc0c512c520af389dd5b57fb6a1cfb870

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page