ayitinya / commerce-telegram-bot

A telegram bot for purchasing items from a store. Built entirely in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Commerce Telegram Bot

A Telegram bot that interacts with users to create orders from an admin updated store. The PyTelegramBotAPI is used to interact with the Telegram API. Store data is stored in a cloud firestore database and interactions

Requirements

  • Python 3.11 and up
  • Firebase account for image uploads, cloud functions, and hosting of FireCMS

Installation

Using a virtual environment is recommended.

python3 -m venv venv
source venv/bin/activate

Use the package manager pip to install the requirements from requirements.txt.

pip install -r requirements.txt

Copy the .env.example file to .env and fill in the values.

Usage

To run the bot locally, you can use the bot.py file.

python bot.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

A telegram bot for purchasing items from a store. Built entirely in python

License:MIT License


Languages

Language:Python 85.5%Language:TypeScript 13.2%Language:JavaScript 0.5%Language:HTML 0.5%Language:CSS 0.3%