diff --git a/django_telegrambot/apps.py b/django_telegrambot/apps.py index 898c109..7abdd95 100644 --- a/django_telegrambot/apps.py +++ b/django_telegrambot/apps.py @@ -168,6 +168,7 @@ def ready(self): allowed_updates = b.get('ALLOWED_UPDATES', None) timeout = b.get('TIMEOUT', None) proxy = b.get('PROXY', None) + if self.mode == WEBHOOK_MODE: try: if b.get('MESSAGEQUEUE_ENABLED',False):