Updated regex for message plugin

This regex will match on
s
s foo
slack foo
This commit is contained in:
Hemna 2022-12-29 14:41:39 -05:00
parent 7c28bb9886
commit 8367cc8fd2
1 changed files with 1 additions and 1 deletions

View File

@ -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):