Skip to content

lab open state stored in local state #13

@bryanjwong

Description

@bryanjwong

Currently, lab open state is stored as a local variable in bot server instance:

lab_open = True

Because free Heroku dynos (our current method of deployment) must cycle once a day, this state is lost. As a result, lab state does not remain closed over longer break periods. An officer must manually use .closelab command once a day to prevent reminder messages from being sent.

Proposed solution: store lab open state in some sort of persistent storage that is read/written to. Since existing code relies on reading from predefined google sheets document, I suggest having some cell/sheet dedicated to storing this state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions