/unreddit

Convenience bot for sharing reddit links into Telegram chats

Primary LanguagePythonMIT LicenseMIT

Unreddit Telegram bot

Convenience bot for sharing reddit links into Telegram chats.

Gets the media from reddit links shared into the chat, and embeds it properly in the messages for your friends who are too lazy to open the browser or install the app.

Author's implementation: @unreddit_bot.

Prerequisites

  • Python 3.6+
  • pipenv
  • Telegram bot API token

Installation

pip install pipenv && \
pipenv install

Execution

NB: before launching, set your bot API token and desired request User-agent header value (required by Reddit) in the config file.

pipenv run main

Since this bot is designed to react to the links shared in the group chats, and not to be explicitly queried with /commands, you will want to ensure that it has its privacy mode disabled