preventet breaking change

This commit is contained in:
abdullaev388 2022-02-19 23:37:03 +05:00
parent 10b5886dcc
commit 9bfc0b2c6f
1 changed files with 5 additions and 1 deletions

View File

@ -1,9 +1,13 @@
from telebot.asyncio_middlewares import BaseMiddleware
class State:
def __init__(self) -> None:
self.name = None
def __str__(self) -> str:
return self.name
class StatesGroup:
def __init_subclass__(cls) -> None: