LEC_Ditto is a bot that tracks the follows and unfollows of Twitter accounts

Overview

โœจ LEC_Ditto โœจ

I'm Ditto, and I'm a bot ๐Ÿค– .

Getting Started | Installation | Usage

Getting Started

LEC_Ditto is a bot that tracks the follows and unfollows of Twitter accounts. It's written in Python and uses the Twitter API to get the data.

Why Telegram?

Long story short, technically the way the bot works, sending tweets mentioning several accounts, is against Twitter rules and I was banned for it ๐Ÿค .

I needed a simple way to store the information and have easy access to it to filter and send the tweets. If you try the bot, you will realize that it generates a lot of noise and you are going to need a way to deal with that.

Telegram is "perfect" for that. You can have the information synced on several devices and you can filter it in a very easy way.

If you still do not want to use it, just comment out lines 87 and 93 of the main.py file and the bot will continue working normally.

Sending tweets

Not advised; you may end up banned.

If you still want to send tweets in an automated way using the API just remove the comments from lines 110 to 118 of the main.py file.

Requirements

Installation

Download the repo using git or directly from github

git clone https://github.com/victoravtr/LEC_Ditto.git

Install dependencies with poetry:

poetry install

Put your API keys and tokens in the config.cfg file.

Put the accounts you want to track in the data/users.json file. There is a sample file with all LEC players to show you how the format looks like.

Important: "name" and "username" or "id" are required, the bot will not work without them.

You can choose one between "username" and "id" and the bot will look for the missing data but "name" is mandatory. Some players change their Twitter names quite often and many of them may not be recognizable, you need to name them to know which player you are talking about.

{ 
    "accounts": [
        {
            "name": "G2 Esports",
            "username": "G2esports",
            "id": "1124722303"
        },
                {
            "name": "FNATIC",
            "username": "FNATIC",
            "id": "19976791"
        }
    ]
}

Usage

Start the bot with the following command:

poetry run python3 main.py

That's all! ๐ŸŽ‰

GitHub action to deploy serverless functions to YandexCloud

YandexCloud serverless function deploy action Deploy new serverless function version (including function creation if it does not exist). Inputs yc_acc

ะœะฝะพะณะพ ะ›ะพัะพัั 4 Apr 10, 2022
OpenZeppelin Contracts written in Cairo for StarkNet, a decentralized ZK Rollup

OpenZeppelin Cairo Contracts A library for secure smart contract development written in Cairo for StarkNet, a decentralized ZK Rollup. โš ๏ธ WARNING! โš ๏ธ

OpenZeppelin 592 Jan 04, 2023
Follow pixiv account from twitter profile

Follow pixiv account from twitter profile

Genshi 7 Apr 11, 2022
A script to automate the process of downloading Markdown and CSV backups of Notion

Automatic-Notion-Backup A script to automate the process of downloading Markdown and CSV backups of Notion. In addition, the data is processed to remo

Jorge Manuel Lozano Gรณmez 2 Nov 02, 2022
Home Assistant for Opendata CWB. Get the weather forecast of the city in Taiwan.

Home assistant support for Opendata CWB. The readme in Traditional Chinese. This integration is based on OpenWeatherMap (@csparpa, pyowm) to develop.

11 Sep 30, 2022
Info & tools for reverse engineering the M6 smart fitness band

m6-reveng This repo contains information and tools for reverse engineering the $7 M6 smart fitness band. Hardware The SoC (system-on-a-chip) is a Teli

41 Dec 26, 2022
RedFish API Toolkit

RedFish API Toolkit RedFish API Toolkit Build Status GitHub Actions Travis CI Requirements requirements.txt requirements-dev.txt Dependencies Document

Larry Smith Jr. 1 Nov 20, 2021
Hydro Quebec API wrapper.

HydroQC Hydro Quebec API wrapper. This is a package to access some functionalities of Hydro Quebec API that are not documented. Documentation https://

Olivier BEAU 9 Dec 02, 2022
Rocks vc Userbot: A Telegram Bot Project That's Allow You To Play Audio And Video Music On Telegram Voice Chat Group

โญ๏ธ Rocks VC Userbot โญ๏ธ Telegram Userbot To Play Audio And Video Song On VC Chat

Dr Asad Ali 10 Jul 18, 2022
A Python wrapper around the Twitter API.

Python Twitter A Python wrapper around the Twitter API. By the Python-Twitter Developers Introduction This library provides a pure Python interface fo

Mike Taylor 3.4k Jan 01, 2023
Mega.nz to GDrive uploader

Mega.nz to GDrive uploader With this telegram bot you can download files from mega.nz and upload those files or telegram uploaded files to GDrive. You

30 Nov 13, 2022
Polars-fun - Example notebooks for how to use pola.rs

polars-fun Polars is an awesome Rust DataFrame library with Python language bindings. This repo makes it easy to run Polars code on your local machine

Matthew Powers 2 Jun 28, 2022
A Telegram Video Merge Bot by @AbirHasan2005

VideoMerge-Bot This is very simple Telegram Videos Merge Bot by @AbirHasan2005. Using FFmpeg for Merging Videos. Features: Merge Multiple Videos. User

Abir Hasan 57 Nov 12, 2022
Bender: A Markov Babbler Slack Bot

See the Digital Ocean tutorial for instructions on how to get the basic bot structure in place. Once you have that, set the gunicorn command to run as

Andrew Howard 1 Dec 04, 2021
Deepl - DeepL Free API For Python

DeepL DeepL Free API Notice Since I don't want to make my AuthKey public, if you

Vincent Young 4 Apr 11, 2022
Robust and blazing fast open-redirect vulnerability scanner with ability of recursevely crawling all of web-forms, entry points, or links with data.

After Golismero project got dead there is no more any up to date open-source tool that can collect links with parametrs and web-forms and then test th

railway zeppelin 34 Aug 25, 2022
Example notebooks for working with SageMaker Studio Lab. Sign up for an account at the link below!

SageMaker Studio Lab Sample Notebooks Available today in public preview. If you are looking for a no-cost compute environment to run Jupyter notebooks

Amazon Web Services 304 Jan 01, 2023
Stackoverflow Telegram Bot With Python

Template for Telegram Bot Template to create a telegram bot in python. How to Run Set your telegram bot token as environment variable TELEGRAM_BOT_TOK

PyTopia 10 Mar 07, 2022
We propose the adversarial blur attack (ABA) against visual object tracking.

ABA We propose the adversarial blur attack (ABA) against visual object tracking. The ICCV link: https://arxiv.org/abs/2107.12085 and, https://openacce

Qing Guo 13 Dec 01, 2022