Skip to content

shoucandanghehe/nonebot-plugin-wait-a-minute

Repository files navigation

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