A nonebot plugin for running some func before closing the bot
Project description
💿 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
Built Distribution
Close
Hashes for nonebot_plugin_wait_a_minute-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c67a9ad4b8aaf6d4985bda2215d528ac61debada86c67c7de6f45f18ebfd9a28 |
|
MD5 | 3ac3c3dfc12fa141d760d4c79af4618b |
|
BLAKE2b-256 | c579ee7dd5aaae5bb26a3c7f103ea5aadeda0a23628f967eadfb1d3f0b08f3a8 |
Close
Hashes for nonebot_plugin_wait_a_minute-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d3bd09bf279fe50676477e14ae83323848686f08332547b645fe8c3efcccf2c |
|
MD5 | 8aa94868969f29e83909ea41047f3ea0 |
|
BLAKE2b-256 | 8d4e099652b63aa90375e5adadff4c35d78e33bf06e49857ab0a4371a8bcb88d |