It's version 0.4

This commit is contained in:
Niken
2025-10-19 14:28:41 +03:00
parent 772d3d5b83
commit 7b653d4dcc
32 changed files with 775 additions and 326 deletions
+3 -1
View File
@@ -2,9 +2,11 @@ from dataclasses import dataclass
from typing import Dict, Optional
from asyncio import Task
@dataclass
class BotState:
"""Состояние бота"""
last_chat_time: Dict[int, str] = None
last_pinned: Dict[str, int] = None
watcher_work: bool = False
@@ -23,4 +25,4 @@ class BotState:
if self.last_day is None:
self.last_day = {}
if self.last_clip_hash is None:
self.last_clip_hash = {}
self.last_clip_hash = {}