Skip to content

Telegram bot to search for episodes from the Talk Python To Me podcast.

Notifications You must be signed in to change notification settings

AbhishekPednekar84/talk-python-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Talk Python Podcast - Telegram Bot

Build Status

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

Using the bot

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

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/talk-python-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 Talk Python To Me podcast.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published