Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'out of hours' feature #68

Open
GuyHerrmann opened this issue May 11, 2021 · 0 comments
Open

Add 'out of hours' feature #68

GuyHerrmann opened this issue May 11, 2021 · 0 comments

Comments

@GuyHerrmann
Copy link
Collaborator

GuyHerrmann commented May 11, 2021

Overview:
We will only be monitoring the telegram from 9-5/6 from monday till friday (when the dallas court is open). People should only be using this service then anyway. This feature would inform people that nobody will be checking the app closely at this time and say when open hours are for the service/ give an emergency contact number

Implementation:
If a SOS is sent, the system should still register the SOS because someone who has been detained may have just had access to their phone at that time.
The working hours could be set either through the config, or in the admin page

Could be implemented with a decorator function around the function that receives the message which checks if the current time is within the accepted time range and continues else messages the user and tells them that it is out of hours, but allows SOS requests.

@kimadactyl kimadactyl changed the title feature: add 'out of hours feature; Add 'out of hours' feature May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant