Skip to content

AbhishekPednekar84/python-bytes-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Bytes Podcast - Telegram Bot

Build Status

This repository contains the Python (v3.7) code for the Python Bytes Podcast Telegram bot.

Using the bot

  1. Search for the bot in Telegram using either Python Bytes Podcast or @PythonBytesBot
  2. Click START to begin conversing with the bot
  3. To search for podcast episodes, send any search text (for example, treebeard)
  4. To search with multiple words, separate them with a - (for example, sanic-django)

Commands

  1. /start - To start interacting with the bot and get a welcome message
  2. Any search text

Creating a local setup

  1. Clone the current repository - git clone https://github.com/AbhishekPednekar84/python-bytes-bot
  2. Create a virtual environment - python -m venv venv
  3. Activate the virtual environment - venv\Scripts\activate.bat (Windows), source venv/bin/activate (OSx / Linux)
  4. Install the project dependencies - pip install -r requirements.txt
  5. Create a .env file and add an environment variable called TELEGRAM_TOKEN (refer to .env.example)
  6. Run the code - python bot/server.py or python3 bot/bot_server.py
  7. To run the tests - pytest

Bot1


Bot2

About

Telegram bot to search for episodes from the Python Bytes podcast.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published