Change eh.start() to eh.start_polling()

This commit is contained in:
Jannes Höke 2015-11-16 13:05:17 +01:00
parent ab313488ad
commit ba3d174fde
2 changed files with 2 additions and 2 deletions

View file

@ -127,7 +127,7 @@ def main():
# Start the Bot and store the update Queue,
# so we can insert updates ourselves
update_queue = eh.start(poll_interval=0.1, timeout=20)
update_queue = eh.start_polling(poll_interval=0.1, timeout=20)
# Start CLI-Loop
while True:

View file

@ -62,7 +62,7 @@ def main():
bc.addErrorHandler(error)
# Start the Bot
eh.start()
eh.start_polling()
# Start CLI-Loop
while True: