From 6e141e83082b9a970e0f762a55db2cba867a2d67 Mon Sep 17 00:00:00 2001 From: Zaid _ Date: Wed, 26 Jun 2024 17:12:57 +0300 Subject: [PATCH] move to utils.py --- tgram/__init__.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tgram/__init__.py b/tgram/__init__.py index 328b392..c277c1f 100644 --- a/tgram/__init__.py +++ b/tgram/__init__.py @@ -1,10 +1,4 @@ -__all__ = ["types", "TgBot", "handlers", "filters", "API_URL", "ALL_UPDATES"] +__all__ = ["types", "TgBot", "handlers", "filters"] from . import types, handlers, filters from .tgbot import TgBot - -API_URL = "https://api.telegram.org/" -ALL_UPDATES = [ - getattr(handlers.Handlers, i) - for i in filter(lambda x: not x.startswith("_"), handlers.Handlers.__dict__) -]