cron style message scheduling for slack
This app needs both of Bot and Slash Command.
Create them from here:
https://{your-team}.slack.com/apps/manage/custom-integrations
Following 2 envvars are required.
SLACK_BOT_TOKEN
SLACK_SLASH_COMMAND_TOKEN
slack-cron automatically installs Heroku Scheduler on the first deploying to your heroku.
To keep Heroku awake, you should add a job like following for Every 10 minutes
.
curl -s -d "" {your-app-name}.herokuapp.com >/dev/null 2>&1
add
can be aliasednew
.list
can be aliasedls
orshow
.remove
can be aliasedrm
,delete
ordel
.- See the documentation of Message Formatting to learn about that.