mirror of
https://github.com/hemna/aprsd-slack-plugin.git
synced 2025-06-30 16:05:19 -04:00
Updated regex for message plugin
This regex will match on s s foo slack foo
This commit is contained in:
parent
7c28bb9886
commit
8367cc8fd2
@ -46,7 +46,7 @@ class SlackMessagePlugin(base_plugin.SlackPluginBase):
|
|||||||
version = aprsd_slack_plugin.__version__
|
version = aprsd_slack_plugin.__version__
|
||||||
|
|
||||||
# matches any string starting with h or H
|
# matches any string starting with h or H
|
||||||
command_regex = "^[sS]"
|
command_regex = r"^([s]|[s]\s|slack)"
|
||||||
command_name = "message-slack"
|
command_name = "message-slack"
|
||||||
|
|
||||||
def setup(self):
|
def setup(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user