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.
First make shure that you have installed Python version 3.8 or higher:
- Use the package manager pip to install the pyTelegramBotAPI library.
pip install pyTelegramBotAPI
-
Replace the InsertTokenHere with your custom telegram bot token in the line
bot = telebot.TeleBot('InsertTokenHere', parse_mode=None)
. -
Finaly run the bot by executing
python nitterBot.py
in your command prompt.