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! 🎉

Repository to access information of stocks in Bombay Stock Exchange.

BSE Repository to access information of stocks in Bombay Stock Exchange. The code in this repository uses BSE API and conclusions made using the code

1 Nov 13, 2021
Multi-Branch CI/CD Pipeline using CDK Pipelines.

Using AWS CDK Pipelines and AWS Lambda for multi-branch pipeline management and infrastructure deployment. This project shows how to use the AWS CDK P

AWS Samples 36 Dec 23, 2022
DragDev Maintained Instance Of discord.py

discord.py - DragDev Flavour A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. The Future of discord.py

DragDev Studios 3 Aug 27, 2022
Microsoft Azure Storage Library for Python

Microsoft Azure Storage Library for Python

Microsoft Azure 329 Dec 16, 2022
:electric_plug: Generating short urls with python has never been easier

pyshorteners A simple URL shortening API wrapper Python library. Installing pip install pyshorteners Documentation https://pyshorteners.readthedocs.i

Ellison 351 Jan 03, 2023
pymobiledevice fork with more recent coding standards and many more features

Description Features Installation Usage Sending your own messages Lockdown messages Instruments messages Example Lockdown services com.apple.instrumen

255 Dec 28, 2022
⚡ Simple mass dm selfbot for Discord written in python3.

Zapp Simple mass dm selfbot for Discord written in python3. Warning. This project was made for educational purposes only! I take no responsibility for

Ѵιcнч 34 Nov 01, 2022
Stream Telegram files to web

Telegram File Stream Bot A Telegram bot to stream files to web Demo Bot » Report a Bug | Request Feature Table of Contents About this Bot Original Rep

Wrench 572 Jan 09, 2023
Python 3 tools for interacting with Notion API

NotionDB Python 3 tools for interacting with Notion API: API client Relational database wrapper Installation pip install notiondb API client from noti

Viet Hoang 14 Nov 24, 2022
Automatically pick a winner who Retweeted, Commented, and Followed your Twitter account!

AutomaticTwitterGiveaways automates selecting winners for "Retweet, Comment, Follow" type Twitter giveaways.

1 Jan 13, 2022
Often discord bots just die, and we hardly find one that is durable

Muitas vezes bots do discord simplesmente morrem, e dificilmente achamos um que seja durável. Então porque não ter um próprio para emergências? Como c

Guilherme Almeida 3 Dec 06, 2022
Change your discord avatar every x h/d based on a list of images

Discord-Avatar-Autochange Introduction A simple script that automatically keeps changing your discord avatar after a given amount of time based on the

Armin Amiri 5 Apr 30, 2022
Python wrapper for the GitLab API

Python GitLab python-gitlab is a Python package providing access to the GitLab server API. It supports the v4 API of GitLab, and provides a CLI tool (

1.9k Dec 31, 2022
Ditch Xiaomi's cloud and use a Telegram bot instead

Yi-Home_Telegram_Bot_Interface Ditch Xiaomi's cloud and use a Telegram bot instead Features Motion detection Works by monitoring a tmp file that is cr

Erli 10 Aug 18, 2022
Facebook Clooning Tool BD...

Facebook Clooning Tool BD...

Ariyan Ahmed Mamun 2 Feb 16, 2022
This repository contains ready to deploy automations on AWS

aws-automation-plugins This repository contains ready to deploy automations on AWS. How-To All projects in this repository contain a deploy.sh file wh

Akesh Patil 8 Sep 20, 2022
Python script to delete old / embarrassing tweets.

Delete Tweets Do you have hundreds of embarrassing tweets on your Twitter profile, that you tweeted over a decade ago as an innocent high schooler, th

Linda Zheng 9 Nov 26, 2022
A Telegram bot for combining emojis.

combimoji combimoji is a Telegram bot for combining emojis. How can I use it? You can find combimoji at @combimoji_bot, however it is not up (as of No

Yarema Mishchenko 2 Dec 02, 2021
Tglogging - A python package to send your app logs to a telegram chat in realtime

Telegram Logger A simple python package to send your app logs to a telegram chat

SUBIN 60 Dec 27, 2022
Python wrapper for CoWin API's

Cowin Tracker Python API wrapper for CoWin, India's digital platform launched by the government to help citizens register themselves for the vaccinati

Saiprasad Balasubramanian 43 Jun 11, 2022