Skip to content
/ rosterbot Public template
generated from joshcarp/whattimeisitrightnow

Slackbot for rostering, sends messages when someone new is rostered on

License

Notifications You must be signed in to change notification settings

joshcarp/rosterbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rosterbot

"I have to ban you from writing slack bots" - @rokane

  • A slack app for rostering

Use

  • Roster a message every day at 23:00 UTC
/roster add "0 23 * * *" "message" @user1, @user2, @user3 
// 23:00 UTC: message @user1
// 23:00 Tomorrow: message @user2
// 23:00 The day after tomorrow: message @user2
  • Remove rosters for current channel
/roster remove

Caveats

  • Doesn't support full cron syntax:
* * * * * is supported
0 /10 * * is not supported
  • All time must be specified in UTC time, not local time

About

  • Hosted on google cloud functions
  • Firestore to store data (webhooks and subscriptions)
  • Uses google cloud scheduling to execute every minute (* * * * *) in order to filter out firestore subscriptions for that time

About

Slackbot for rostering, sends messages when someone new is rostered on

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages