diff options
| -rw-r--r-- | main.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -15,4 +15,8 @@ class Plugin: # Asyncio-compatible long-running code, executed in a task when the plugin is loaded async def _main(self): logger.info("Hello World!") + + # Function called first during the unload process, utilize this to handle your plugin being removed + async def _unload(self): + logger.info("Goodbye World!") pass |
