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
Release history Release notifications | RSS feed
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.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a49176046e1d04c00ca93264532c81b6a84b2877f9388e83c80d0439b0e3c8a0 |
|
MD5 | 2f0bc5897db3e5fe7134889b88cd54cd |
|
BLAKE2b-256 | 0df47c567e20ad4cc9bad66b7ddfc15a14ab31e2380a3323ac09407895cba911 |
Close
Hashes for nonebot_plugin_wait_a_minute-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a114f2910864ba8693c34175299a554c2b1e96c77748309fe9430c04e3796e9 |
|
MD5 | 26e72bd2ab1520f2cc0f2dd864f08838 |
|
BLAKE2b-256 | 8be2fdd541f0d05078917b77b60e9ae699f12def3a0d22f0dd0d3cce08d7c254 |