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 ... | 关闭群的防撤回 |
查看防撤回群聊 | 查看防撤回群聊 |
开启/关闭绕过管理层 | 管理员/群主不会被防撤回,仅限群内 |
防撤回菜单 | 打开本插件菜单 |
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76435c57ce81c2389716e7d0d69eafbb7af588800a14ee7b6d80d0550f4b56a0 |
|
MD5 | 98d9c63785ad1afb6ed476d673a619e8 |
|
BLAKE2b-256 | c418a5d8c395ad3554938e72ef4d21a49c5fe6d8154ea1ca53939b41f5bc192b |
Close
Hashes for nonebot_plugin_antirecall-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68edc9607aed7ef1e3900612a875ff96170c4d1f271e34d0fccaa1daeb93a326 |
|
MD5 | dea15d69c330b4229870db3f77d9908d |
|
BLAKE2b-256 | 90517ce1230983f6a89e856afd888447055824c40a3423d7ec9f6c4d2a4a6eaa |