Let me google that for you bot in Slack. Inspired by https://github.com/kenibarwick/lmgtfy-slack.
You can specify the matching token with a environment variable or by using the config/config.php
configuration file.
Add the matching token by using the SLACKSLASHCOMMANDTOKEN
environment variable.
Copy the sample file (config/config.sample.php
) to config.php
and add the mathing token to the variable $tokenMatch
.