Skip to content

Commit

Permalink
Update runtests.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JungDev authored May 25, 2017
1 parent c840cee commit 35e14cc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@
],
SITE_ID=1,
MIDDLEWARE_CLASSES=(),
DJANGO_TELEGRAMBOT = {
'MODE' : 'WEBHOOK', #(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.
},
],
},
)

try:
Expand Down

0 comments on commit 35e14cc

Please sign in to comment.