Skip to main content

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
  • QQ
  • Satori
  • DoDo

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_withdraw-0.4.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

nonebot_plugin_withdraw-0.4.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

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

Hashes for nonebot_plugin_withdraw-0.4.0.tar.gz
Algorithm Hash digest
SHA256 753363493019bf1ec5a74c4799bc7eeb702f0886bd2706b125f8c7c1f1a10ebc
MD5 ea58c642cb726e53d6612c82b8fc3015
BLAKE2b-256 53c18ac001404a2d19128ed36ca15aff70a738991a8abc841c11c0fbb510b872

See more details on using hashes here.

File details

Details for the file nonebot_plugin_withdraw-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_withdraw-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e722fe6530a7dd13034907cbf4e852c90a6676b6f0e106b5b8a726394376fd1
MD5 7e4b5a40f48f3d881927d384c7c94eb7
BLAKE2b-256 38e60d12cbefb12b71f6145727fd98f4ff87380dadf9a1eba1faf4417bdd835c

See more details on using hashes here.

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