From 920f1b05e4f68ae9fa191cae9629c80b2aee627b Mon Sep 17 00:00:00 2001 From: JungDev Date: Thu, 25 May 2017 18:11:35 +0200 Subject: [PATCH] Update runtests,py --- runtests.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/runtests.py b/runtests.py index 7a9f898..b87a95d 100644 --- a/runtests.py +++ b/runtests.py @@ -22,13 +22,10 @@ SITE_ID=1, MIDDLEWARE_CLASSES=(), DJANGO_TELEGRAMBOT = { - 'MODE' : 'WEBHOOK', #(Optional [str]) # The default value is WEBHOOK, + 'MODE' : 'POLLING', #(Optional [str]) # The default value is WEBHOOK, # otherwise you may use 'POLLING' # NB: if use polling you must provide to run # a management command that starts a worker - 'WEBHOOK_SITE' : 'https://mywebsite.com', - 'WEBHOOK_PREFIX' : '/prefix', # (Optional[str]) # If this value is specified, - # a prefix is added to webhook url 'BOTS' : [ { 'TOKEN': '123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11', #Your bot token.