mirror of
https://github.com/hemna/aprsd-slack-plugin.git
synced 2025-04-08 04:29:26 -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__
|
||||
|
||||
# matches any string starting with h or H
|
||||
command_regex = "^[sS]"
|
||||
command_regex = r"^([s]|[s]\s|slack)"
|
||||
command_name = "message-slack"
|
||||
|
||||
def setup(self):
|
||||
|
Loading…
Reference in New Issue
Block a user