Tip
If you are to purchase a new Tesla vehicle, please consider using my referral code here to get up to $2,000 off!
A telegram bot to monitor price changes of vehicles in Tesla's inventory.
-
First, create a bot using BotFather and obtain the token. Fill your token in
bot.py
.TELEGRAM_API_TOKEN = "..."
-
You will also need to add your own chat id in
bot.py
to receive notifications, which can be obtained by sending/id
to userinfobot.AUTHORIZED_CHAT_IDS = [ # Add your chat ID here "..." ]
-
You can change the model and condition by setting
MODEL
andCONDITION
.MODEL = "m3" CONDITION = "new"
-
Install dependencies by running
pip install -r requirements.txt
, -
and then simply
python bot.py
.
For usage of the bot, send /start
to the bot and follow the instructions.