偷看群友撤回的消息
Project description
📖 介绍
本插件支持多个消息段撤回监听,但是仅支持群聊,目前只支持Lagrange.OneBot,因为根据群友的消息llonebot和NapCat似乎视频消息不返回网络URL,此项目有些奇怪的BUG,例如黄豆表情无法显示、发送火车等表情会显示表情和文字等
[!IMPORTANT] 私聊模式不支持发送撤回的视频消息,因为Lagrange.OneBot的私聊消息有BUG
[!WARNING] 本插件不支持监听撤回的文件,而且由于某些BUG似乎无法发送提示文本
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-prevent-withdrawal
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-prevent-withdrawal
pdm
pdm add nonebot-prevent-withdrawal
poetry
poetry add nonebot-prevent-withdrawal
conda
conda install nonebot-prevent-withdrawal
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot-prevent-withdrawal"]
🎉 使用
指令表
指令 | 权限 | 需要@ | 范围 | 说明 |
---|---|---|---|---|
开启/关闭防撤回 | 主人 | 否 | 群聊 | 必须先开启才能用 |
切换私聊/群聊 | 主人 | 否 | 通用 | 发送到哪里 |
添加群/删除群 | 主人 | 否 | 群聊 | 指定发送的群聊 |
效果图
❤️感谢以下项目提供支持
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file nonebot_prevent_withdrawal-0.1.1.tar.gz
.
File metadata
- Download URL: nonebot_prevent_withdrawal-0.1.1.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d256f4fdfe54a1b51caa52f10d1f721d4611a3d4c606d6b9354be11b8981406 |
|
MD5 | a1dc833e511c5c341c4d177b5b1fd671 |
|
BLAKE2b-256 | db63ee37d51ea1929ab559a62ea333ad189e7fdfe190d5a1ecaae850341046b3 |
File details
Details for the file nonebot_prevent_withdrawal-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: nonebot_prevent_withdrawal-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae5300736f37ff64b696a4e5e3ec4a22a64e955cd7a9ff21ca7e68f8239a5636 |
|
MD5 | b4da394169f8af10f6f1fe3c24678f89 |
|
BLAKE2b-256 | 008c3b60aed72b7c26d511f4348422ac106a357568af7147f1b717774706a679 |