Skip to content

murodovazizmurod/flask-telebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyTelegramBotAPI + Flask Template

Total alerts Language grade: Python

Introduction

This template allows you to create bots with a ready-made database based on the pyTelegramBotAPI library using Flask micro-framework!

Requirements

Python 3.8

Flask - 1.1.2

pyTelegramBotAPI - 0.17.0

Cloning

$ git clone https://github.com/murodovazizmurod/flask-telebot

Creating Virtual Envirenment

$ cd flask-telebot/
$ python -m venv venv && source venv/bin/activate

and install all requirements

$ pip3 install -r requirements.txt

Сonfiguration

Open .env file and write informations or set environment variables:

In Windows :

$ set TOKEN='TOKEN'
...

or in Linux:

$ export TOKEN='TOKEN'
...

Any problems? - My Telegram

About

pyTelegramBotAPI + Flask Template

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages