diff --git a/bot.py b/bot.py index fdea4cb..94c9044 100644 --- a/bot.py +++ b/bot.py @@ -21,8 +21,9 @@ STATE_PATH = os.getenv("STATE_PATH", "state.pickle") class State: - notified = [] - notified_soon = [] + def __init__(self) -> None: + self.notified = [] + self.notified_soon = [] def process_event(event, template):