mirror of
https://github.com/hemna/aprsd-slack-plugin.git
synced 2026-07-17 08:14:27 -04:00
Update for new plugin interface. Add Notify plugin
This patch adds the notify plugin to be used with the new notification plugins interface for aprsd. This sends a notification to a slack channel when a HAM callsign is seen on the APRS-IS network after a specified timeout/age.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import logging
|
||||
|
||||
from aprsd import plugin
|
||||
from aprsd import utils as aprsd_utils
|
||||
from slack_sdk import WebClient
|
||||
|
||||
@@ -9,7 +8,7 @@ import aprsd_slack_plugin
|
||||
LOG = logging.getLogger("APRSD")
|
||||
|
||||
|
||||
class SlackPluginBase(plugin.APRSDPluginBase):
|
||||
class SlackPluginBase:
|
||||
"""SlackCommandPlugin.
|
||||
|
||||
This APRSD plugin looks for the location command comming in
|
||||
|
||||
Reference in New Issue
Block a user