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
  • 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.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_withdraw-0.4.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_withdraw-0.4.1.tar.gz.

File metadata

  • Download URL: nonebot_plugin_withdraw-0.4.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.0 Linux/6.5.0-1025-azure

File hashes

Hashes for nonebot_plugin_withdraw-0.4.1.tar.gz
Algorithm Hash digest
SHA256 68f4caf1a446cea60b2774a04211977d52315fb8d3ba0e49acaffdb0100f1a0e
MD5 184a82f1c479441de56dc2aaef6dd864
BLAKE2b-256 e4bd5b218b6c0de26caa16a96018689b9a263479cdd8ed85dab03259fe511c68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_withdraw-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3658f7ab34efdfe6c714f7ec8fa7af19d809e18436699bc8f476c575117faebe
MD5 14f24ba2f7ec285de41cb369135bca6c
BLAKE2b-256 50b2fd810e65610de249e6cbc6768afa7b9bc7457460371a766ced196cadd9b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page