This commit is contained in:
2024-09-05 15:31:24 +02:00
parent 4e976daef7
commit 2bad2f50d6
2 changed files with 15 additions and 4 deletions
+1
View File
@@ -4,6 +4,7 @@ from config import REDIS_URL, REDIS_USER, REDIS_PSW
class User:
user_id: str
last_earned: int
def __init__(self, user_id: str, balance: int) -> None:
self.balance = balance
self.user_id = str(user_id)