Skip to content
/ bottemplate Public template

🇬🇧 Template for a telegrambot powered as django app. Create a new bot with this django app template.

Notifications You must be signed in to change notification settings

telebotter/bottemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bot Template

🇬🇧 Template for a telegrambot powered as django app.

In a proper installed environment this template can be used to create and bootstrap a bot. It provides some often used models, views for help or info pages. With Django3+ you can direclty install from online zip file like:

python manage.py startapp --template=https://github.com/telebotter/bottemplate/archive/master.zip <app_name>

For older Versions clone the repo or extract the zip file and use it like:

python manage.py startapp --template=extracted/folder/bottemplate <app_name>

Further reading on app templates: https://docs.djangoproject.com/en/3.0/ref/django-admin/#startapp https://docs.djangoproject.com/en/3.0/ref/templates/api/#django.template.Context

Add the bot token to DJANGO_TELEGRAMBOT in the settings.py of your project and the bot is ready.

About

🇬🇧 Template for a telegrambot powered as django app. Create a new bot with this django app template.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages