timebot is a Slack slash command that prints out the current time for every user in the config file.
go get github.com/kamaln7/timebot/cmd/timebot
- Copy config.toml and edit it to match your settings
- Run
timebot
in the same directory as yourconfig.toml
. Use an nginx reverse proxy, cloudflare, let's encrypt, or anything else to serve it via HTTPS with a valid SSL certificate (Slack requires that). - Add a Slash Command with the URL set to your server's URL.
- If
InChannel
is set totrue
, usernames will be ṁunged in order to prevent people from getting notified.
See LICENSE