Skip to content

Bohdan-Salamakha/slack-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

staff_info.json

{ "<STAFF_1_EMAIL>": { "name": "<STAFF_1_NAME>", "slack_id": "<STAFF_1_SLACK_ID>" }, "<STAFF_2_EMAIL>": { "name": "<STAFF_2_NAME>", "slack_id": "<STAFF_2_SLACK_ID>" }, ... }

STAFF_EMAIL = <STRING> ("[email protected]")

STAFF_NAME = <STRING> ("John")

STAFF_SLACK_ID = <STRING> ("F04K187DFCJ")

ENVIRONMENT VARIABLES

SLACK_BOT_TOKEN - token of your Slack app

CHANNEL_ID - id of Slack channel where u want bot to drop msgs

CALENDAR_ID - id of Google Calendar that u want to use

TIME_CHECK_INTERVAL - how often (seconds) bot will check schedule (DEFAULT=60)

WORK_TIME_START - bot starts working at this time (DEFAULT="10:00")

WORK_TIME_FINISH - bot finishes work at this time (DEFAULT="22:00")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages