Skip to content

Script for a telegram bot that fetches media from reddit and sends the media as a message in a telegram channel.

Notifications You must be signed in to change notification settings

agniveshsp/Reddit-to-Telegram-Bot

Repository files navigation

Reddit to Telegram Bot

Script for a telegram bot that fetches media from a list of subreddits and sends the retrieved media as a message in your telegram channel.

Reddit_poster

Table of Contents

  1. Telegram Requirements
  2. How to Use

Telegram Requirements

  1. A telegram channel with admin/owner access.
  2. A telegram bot added to the channel and given admin privilleges.
  3. API of the Telegram bot added to the channel.(Can be obtained from BotFather bot)

How to Use

  1. Clone or Download the script.
  2. install the requirements from the requirements.txt
  3. Configure the Config.ini file with your channel id,bot api and subreddits.
  4. Set the Script to run at specified intervals on your local device or cloud.

Notes

Cache Folder stores the ids of already fetched post inorder to avoid reposts.

agniveshsp@gmail.com