mirror of
https://github.com/hemna/aprsd-slack-plugin.git
synced 2024-09-28 08:06:35 -04:00
Plugin gets the version from pbr version now
This commit is contained in:
parent
94e2101b46
commit
1755b41706
@ -4,6 +4,7 @@ CHANGES
|
|||||||
v1.0.2
|
v1.0.2
|
||||||
------
|
------
|
||||||
|
|
||||||
|
* cleaned up dev reqs
|
||||||
* Reduced the shit
|
* Reduced the shit
|
||||||
|
|
||||||
v1.0.1
|
v1.0.1
|
||||||
|
@ -4,6 +4,8 @@ from aprsd import plugin
|
|||||||
from slack_sdk import WebClient
|
from slack_sdk import WebClient
|
||||||
from slack_sdk.errors import SlackApiError
|
from slack_sdk.errors import SlackApiError
|
||||||
|
|
||||||
|
import aprsd_slack_plugin
|
||||||
|
|
||||||
LOG = logging.getLogger("APRSD")
|
LOG = logging.getLogger("APRSD")
|
||||||
|
|
||||||
|
|
||||||
@ -38,7 +40,7 @@ class SlackCommandPlugin(plugin.APRSDPluginBase):
|
|||||||
channel: <channel name here>
|
channel: <channel name here>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
version = "1.0"
|
version = aprsd_slack_plugin.__version__
|
||||||
|
|
||||||
# matches any string starting with h or H
|
# matches any string starting with h or H
|
||||||
command_regex = "^[lL]"
|
command_regex = "^[lL]"
|
||||||
|
Loading…
Reference in New Issue
Block a user