Skip to main content

A nonebot plugin for running some func before closing the bot

Project description

logo

NoneBot Plugin Wait a minute

✨ A nonebot plugin for running some func before closing the bot ✨

Python PyPI - Version pdm-managed Ruff

💿 Install

🚀 Use PDM

pdm add nonebot-plugin-wait-a-minute

🚀 Use poetry

poetry add nonebot-plugin-wait-a-minute

♿️ How To Use

from nonebot import require

require('nonebot_plugin_wait_a_minute') # require plugin

from nonebot_plugin_wait_a_minute import on_shutdown_before

@on_shutdown_before
def _():
    # do something
    ...

# or use async func
@on_shutdown_before
async def _():
    # await do something
    ...

📄 LICENSE

This project is open source using the MIT license

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_wait_a_minute-0.2.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

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