Skip to content

xbowery/HEAP-telebot-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.Hack Enrichment Application Programme (HEAP) - Telegram Bot Workshop

Author: @xbowery

This repository contains source code to complement the workshop conducted on 4 June 2022 on How to Code basic Telegram Bots. To navigate around, please find the relevant bot based on their specific functions as named by their folders that they reside under.

Getting Started

  1. This repository makes use of the python-telegram-bot library, which runs on Python 3.7+. Please ensure you have the appropriate Python version installed.
  2. This repository contains 2 different versions (v13 and v20) of Telegram Bot codes written using the python-telegram-bot library, please make sure to have the appropriate versions
  3. Clone this repository using the command:

git clone https://github.com/xbowery/HEAP-telebot-workshop.git

  1. Go to the relevant subdirectory using the command cd <folder-name>.
  2. Create your own .env file. A sample .env.sample file has been created for you to take reference.
  3. Install the relevant Python modules using the following command:

pip install -r requirements.txt

(Please make sure you have pip installed before running the command)

  1. Run the bot using the following command:

python bot.py

Have fun learning from the repo and creating your own Telegram Bots!

Contributing

Refer to CONTRIBUTING.MD

About

Telegram Bot Workshop held on 4 June 2022

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages