1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

preventet breaking change

This commit is contained in:
abdullaev388 2022-02-19 23:37:03 +05:00
parent 10b5886dcc
commit 9bfc0b2c6f

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: