Skip to content

EinariTuukkanen/kvantti-telegram-bot-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

kvantti-telegram-bot-example

Example Telegram bot made for an article published in Kvantti I/19.

Requirements

Python (3.X preferred) and PIP.

Install

$ pip install python-telegram-bot

Create your bot using @BotFather. Save the bot's token to an ENV variable with

$ export TG_TOKEN="yourtokenhere"

Run

$ python bot.py

You may leave the script running for example by using screen.

$ screen -S tgbot

Run the script and exit by pressing ctrl + a then d.

Continue with

$ screen -dr tgbot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages