From c808767bc976b6b32b0afa6986f80976eca41fe0 Mon Sep 17 00:00:00 2001 From: Sam Cork Date: Mon, 15 Apr 2024 22:46:53 +0100 Subject: [PATCH] testing plugin middleware additions and adding removal of those on plugin unload --- smib/slack/plugins/core/plugins/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/smib/slack/plugins/core/plugins/__init__.py b/smib/slack/plugins/core/plugins/__init__.py index 766d410..8b3c059 100644 --- a/smib/slack/plugins/core/plugins/__init__.py +++ b/smib/slack/plugins/core/plugins/__init__.py @@ -34,9 +34,9 @@ def reload(message, say, event): return 200 -@app.schedule('interval', seconds=5, id='Test', name='Test') -def test(context): - print(context) +# @app.schedule('interval', seconds=5, id='Test', name='Test') +# def test(context): +# print(context) @app.schedule('interval', seconds=60*15, id='reload_plugins_trigger', name='Trigger Schedule for Reloading Plugins')