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 35e14cc commit 920f1b0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 920f1b0

Please sign in to comment.