diff --git a/telebot/__init__.py b/telebot/__init__.py index 6c793af..6c63667 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -24,7 +24,7 @@ import string # webhooks module -from telebot.extensions.webhooks import SyncWebhookListener +from telebot.extensions import SyncWebhookListener logger = logging.getLogger('TeleBot') diff --git a/telebot/extensions/__init__.py b/telebot/extensions/__init__.py new file mode 100644 index 0000000..8fc3bc3 --- /dev/null +++ b/telebot/extensions/__init__.py @@ -0,0 +1,7 @@ +from .webhooks import SyncWebhookListener + + + +__all__ = [ + 'SyncWebhookListener' +] \ No newline at end of file diff --git a/telebot/bababa/webhooks.py b/telebot/extensions/webhooks.py similarity index 100% rename from telebot/bababa/webhooks.py rename to telebot/extensions/webhooks.py