Skip to content

Releases: ohld/django-telegram-bot

Remove unnecessary, update readme

26 Nov 06:29
Compare
Choose a tag to compare
  • All info from wiki is moved to readme
  • Fix Dockerfile so one doesn't need to set buildpack explicitly during deploy
  • Arcgis decoding is removed

Separate django app and bot handlers logic

15 Sep 15:53
424a8d8
Compare
Choose a tag to compare

Before:

  • tgbot handlers are messed with django tgbot app

After:

  • tgbot is a separate folder, which contains logic only about bot, not about users, views, models and so on
  • separated dispatcher and system_commands which are displayed in the main menu
  • created new django app users

Some minor fixes

08 Sep 17:06
Compare
Choose a tag to compare
  • postgresql url in .env_example
  • freeze versions in requirements.txt
  • fix typo: pooling -> polling
  • dont broadcast message to users via Celery if DEBUG=True

Enhance

23 Aug 10:21
69c4e46
Compare
Choose a tag to compare
  • using update.effective_user instead of self written if/else solution

Migrate to PositiveBigIntegerField and other minor fixes

01 Dec 17:58
Compare
Choose a tag to compare
  1. Using PositiveBigIntegerField for user telegram ids
  2. Add context: CallbackContext typing
  3. Remove unused fields from User model
  4. Add GetOrNoneManager. Example of using: user = User.objects.get_or_none(user_id=<some_id>)
  5. Add AdminManager. You can select all admins via User.admins.all() instead of User.objects.filter(is_admin=True)

v2.0

13 Oct 13:29
4a6c28f
Compare
Choose a tag to compare

New bot structure, native bot menu