Skip to main content

Anti-recall plugin for QQbot in Nonebot2

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-antirecall

✨ NoneBot 防撤回插件 ✨

license pypi python

📖 介绍

简单的防撤回插件

开启后群内撤回消息会被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

nonebot_plugin_antirecall-0.1.2.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_antirecall-0.1.2-py3-none-any.whl (6.6 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