A simple withdraw plugin for Nonebot2
Project description
nonebot-plugin-withdraw
基于 nonebot2 的简单撤回插件,让机器人撤回 自己发出的消息
使用场景是如果机器人发出了不和谐的消息,群友可以帮忙及时撤回
使用
以下命令需要加命令前缀 (默认为/
),可自行设置为空
方式1:
@机器人 撤回 [num]
num
指机器人发的倒数第几条消息,从 0
开始,默认为 0
,如:
@机器人 撤回 # 撤回倒数第一条消息
@机器人 撤回 1 # 撤回倒数第二条消息
方式2:
回复需要撤回的消息,回复“撤回”(部分适配器不支持)
支持的 adapter
- OneBot v11
- OneBot v12
- Kaiheila
- Telegram
- Feishu
- RedProtocol
- Discord
- Satori
- DoDo
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_plugin_withdraw-0.4.0.tar.gz
.
File metadata
- Download URL: nonebot_plugin_withdraw-0.4.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 753363493019bf1ec5a74c4799bc7eeb702f0886bd2706b125f8c7c1f1a10ebc |
|
MD5 | ea58c642cb726e53d6612c82b8fc3015 |
|
BLAKE2b-256 | 53c18ac001404a2d19128ed36ca15aff70a738991a8abc841c11c0fbb510b872 |
File details
Details for the file nonebot_plugin_withdraw-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_withdraw-0.4.0-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e722fe6530a7dd13034907cbf4e852c90a6676b6f0e106b5b8a726394376fd1 |
|
MD5 | 7e4b5a40f48f3d881927d384c7c94eb7 |
|
BLAKE2b-256 | 38e60d12cbefb12b71f6145727fd98f4ff87380dadf9a1eba1faf4417bdd835c |