JungDev / django-telegrambot

Simple app for Telegram bot in Django
BSD 3-Clause "New" or "Revised" License
237 stars 88 forks source link

add management command for run bot in polling mode #5

Closed AduchiMergen closed 7 years ago

AduchiMergen commented 7 years ago

This usefully for debug bot on local dev environment.

like: https://github.com/peleccom/django-telegrambot/commit/51b733155fbcc157b3532d52ae1536c83acca611

tapionx commented 7 years ago

good idea!

JungDev commented 7 years ago

I'm working on a new version with a management command to run a polling mode update, but you must set mode in settings and then run the command. I think that use ngrok is a better and easy way to deploy a bot in local dev enviroment.

JungDev commented 7 years ago

Version 1.0.0 includes this feature, and is now available. Be careful, because it's a major release, I've also changed bot's configuration by adding some new parameters. Check README