Anti-recall plugin for QQbot in Nonebot2
Project description
📖 介绍
简单的防撤回插件
开启后群内撤回消息会被bot发送
群主可以开关本群的防撤回
不建议使用私聊功能,容易风控(建议收购企鹅🐧)
超级用户可以查看全局防撤回和列表。
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-antirecall
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-antirecall
pdm
pdm add nonebot-plugin-antirecall
poetry
poetry add nonebot-plugin-antirecall
conda
conda install nonebot-plugin-antirecall
打开 nonebot2 项目的 bot.py
文件, 在其中写入
nonebot.load_plugin('nonebot_plugin_antirecall')
🎉 使用
指令表
指令 | 说明 |
---|---|
开启/添加防撤回, enable + 群号1 群号2 ... | 开启群的防撤回 |
关闭/删除防撤回, disable + 群号1 群号2 ... | 关闭群的防撤回 |
查看防撤回群聊 | 查看防撤回群聊 |
开启/关闭绕过管理层 | 管理员/群主不会被防撤回,仅限群内 |
防撤回菜单 | 打开本插件菜单 |
开启/关闭防撤回私聊gid uid | 超级管理员私聊使用,gid群号的群撤回消息会私聊给uid的用户,如果群没开启防撤回就不生效 |
查看防撤回私聊 | 查看私聊列表,私聊使用,会返回json数据. |
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
Close
Hashes for nonebot_plugin_antirecall-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0051a536fa676fb8fa61d1c8dadb4ebd9a10febe934c9dd6b98ccc94d08cd2e |
|
MD5 | 1716636d58ea5016187cacfd8ce537b7 |
|
BLAKE2b-256 | 776e8af4890b3c13343352d82e6c96fdca61465257d2cd104c788f16c938690d |
Close
Hashes for nonebot_plugin_antirecall-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7451891675e3a9b0484e610257f0ef299feb03734912a78394ff5834627df527 |
|
MD5 | 683694b9f9d2e093c628afc63e005641 |
|
BLAKE2b-256 | 936cbb2bcf1045078d8f82eee770005a121de9480160ca8d54f9a9f1da26e6c8 |