forked from LeineLab-Public/lab-signal-bot
main: remove some unused old classes
This commit is contained in:
parent
4a226ca9b5
commit
6870d274b5
16
main.py
16
main.py
@ -152,22 +152,6 @@ class SignalAPI:
|
|||||||
except websockets.exceptions.ConnectionClosed:
|
except websockets.exceptions.ConnectionClosed:
|
||||||
print("Websockets connection closed. Reestablishing connection.")
|
print("Websockets connection closed. Reestablishing connection.")
|
||||||
|
|
||||||
class User(BaseModel):
|
|
||||||
number: str
|
|
||||||
name: str
|
|
||||||
pause_until: int | None = None
|
|
||||||
|
|
||||||
class UserList:
|
|
||||||
members: List[str]
|
|
||||||
|
|
||||||
class DataStore(BaseModel):
|
|
||||||
version: int = 1
|
|
||||||
user_list: UserList
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#def test_user_list():
|
|
||||||
|
|
||||||
|
|
||||||
class LabCleaningBot:
|
class LabCleaningBot:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user