implemented DM when it's time to BeReal.

This commit is contained in:
2024-03-02 23:18:11 +01:00
parent 540a61fb45
commit 7de887038d
5 changed files with 44 additions and 26 deletions

View File

@@ -24,7 +24,7 @@ class Database:
def get_subscribers(self):
cursor = db.cursor()
cursor.execute("SELECT user_id FROM subscribers")
cursor.execute("SELECT * FROM subscribers")
result = cursor.fetchall()
return [Subscriber(id=row[0], user_id=row[1], since=row[2]) for row in result]