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:
parent
10b5886dcc
commit
9bfc0b2c6f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user