The bot should be able to send two types of notifications:
User notification
Team (channel) notification
Invocation
The bot must send notifications to the team (channel) and members (direct messages) by cron schedule. On-demand (by user action) notifications are not in the MVP.
Cron
There also should be a cron param that enables the cron job at a specific time that sends notifications. Library https://github.com/robfig/cron is preferred.
The format of the cron should be standard with timezones support: CRON_TZ=Asia/Dubai 30 04 * * *
Templating
A notification template should be set for a team and stored in the datastore. Templates are strings in go template format.
Provider
In the early stages, the bot supports only Slack for messaging. There are plans to support custom notification services.
The bot should be able to send two types of notifications:
Invocation The bot must send notifications to the team (channel) and members (direct messages) by cron schedule. On-demand (by user action) notifications are not in the MVP.
Cron There also should be a cron param that enables the cron job at a specific time that sends notifications. Library https://github.com/robfig/cron is preferred. The format of the cron should be standard with timezones support:
CRON_TZ=Asia/Dubai 30 04 * * *
Templating A notification template should be set for a team and stored in the datastore. Templates are strings in go template format.
Provider In the early stages, the bot supports only Slack for messaging. There are plans to support custom notification services.