mirror of
https://github.com/Sea-Haven-Industries/afterhours-shift-manager.git
synced 2026-09-30 13:43:12 +00:00
Slash command handlers (drop, pick, swap) were posting notifications to command["channel_id"] — wherever the command was run. If someone ran /oncall drop from a DM, the notification went there instead of the schedule channel. Pickup buttons didn't have this problem because body["channel"]["id"] is always the channel where the button lives. Added SHIFT_CHANNEL_PARAM to the SlackBotFunction env vars, read it on cold start, and route all slash command shift-change notifications to the configured schedule channel. Closes #21 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| app.py | ||
| blocks.py | ||
| handler.py | ||
| roster_sync.py | ||
| schedule.py | ||
| three_cx_client.py | ||
| weekly_post.py | ||