Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 828 Bytes

readme.md

File metadata and controls

18 lines (11 loc) · 828 Bytes

NitterBot for Telegram

This repository provides a sample implementation of a telegram bot that can convert https://twitter.com and https://twitter.com links to https://nitter.net/ links.

Running

First make shure that you have installed Python version 3.8 or higher:

  1. Use the package manager pip to install the pyTelegramBotAPI library.
pip install pyTelegramBotAPI
  1. Replace the InsertTokenHere with your custom telegram bot token in the line bot = telebot.TeleBot('InsertTokenHere', parse_mode=None).

  2. Finaly run the bot by executing python nitterBot.py in your command prompt.