/Mr.BuffettBot

This bot resends the tweets of main cryptocurrency's twitter accounts to you through Telegram Bot.

Primary LanguagePython

What is it?

This is a bot that sends you "extream" tweets(that could significantly influence the price of crypto) from official cryptocurrencies' twitter accounts through Telegram-bot. The "extreamness" of a tweet is determined through keywords. For instance, Tezos posts a tweet about new listing on some new cryptomarket,then this bot will see that this tweet has keywords(one of "list, listed, listing") and consider this tweet as an "extream" and will send it instantly to you through Telegram.

Preparation:

Before you run the code, you need to make sure you have the next python libraries:

  • nltk
  • tweepy
  • pytelegrambotapi(this is the pip name, but in code it's imported as a telebot)

How to run it?

Programs bot3.py(in charge of sending messages to users in telegram) and parser.py(in charge of parsing twitter accounts) should run simultaniously on one machine.

What is what?

  • config.py - config file for parser.py (twitter bot)
  • parser.py - parsing od twitter accounts
  • data_v2.txt - text file where all tweets with keywords go
  • TeleConfig.py - config file for Tbot.py (telegram bot)
  • bot3.py - telegram bot
  • words_list.txt - list of keywords
  • errors.txt - file where all error goes if any occure
  • buffett_bot.db - database of the bot users
  • announcment_check.txt - here you could write the announcment and it will be send to all bot users.