Skip to content

Telegram bot made as a part of a course from doubletapp

Notifications You must be signed in to change notification settings

yura34054/dt-django-course

Repository files navigation

DT django homework

Introduction

Hi! This is my new telegram bot. It was made as a homework for django course. With it, you can send "money" and postcards to friends.

Don't forget to check out the course!

Quick start

Clone the project

git clone https://gitlab.com/yura34054/DT-django-homework.git
cd DT-django-homework

Create .env file, don't forget to change the data

cp .env.example .env

Because server will be local you need to use ngrok or other tool to route the connection, add your DOMAIN to .env file

ngrok http 1337

Finally, you can build the image and run in container with one command

make

Possible problems

  • This bot works only in webhook mode.
  • Some code assumes that telegram blocks all messaging before the first /start command, this can lead to problems if you are removing data from database.

Getting help

If you have a problem setting up or a question you can contact me:

telegram: https://t.me/Yurii_Mironov

email: [email protected]

About

Telegram bot made as a part of a course from doubletapp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published