A bot to display per user data from the Twitch Leak

Overview

twitch-leak-bot-discord

A bot to display per user data from the Twitch Leak by username

Where's the data?

I can't and don't want to supply the .csv's as they are

  • too big
  • potential blacklisting and punishment from Twitch

The only data supplied is a list of ID's in a .json for who was in the leak.

If you get the CSV's (via your own methods) you can use the script csv_setup to set them up to the correct config!

Setup

Import and shrink csv files:

  • This will import, rename and optionally shrink original gz files into a data folder.
  • Original Twitch-payouts folder must be at the root of the project.
  • Choose import and shrink or just import.
  • Shrinking will delete lines with no revenue, and significantly speed up the parsing process.
  • You can also shrink already imported files.
  • Once imported you can delete or move the original Twitch-payouts folder

Type in a terminal:

  • On linux or macOS:

Python3 csv_setup.py

  • On Windows:

Python csv_setup.py

Twitch API and discord bot IDs

You need two or three values

  • A discord bot token
  • A twitch client ID Register an app
  • A twitch client secret (only with Helix)

Set them in the main.py file

Creating a Discord Bot

This article for detailled instructions (till step 4 included, when you invite the bot.)

The bot needs rights to read messages and see messages history and that's all.

Twitch Client App Registration Settings

Name: Can be anything

OAuth Redirect URLs: http://localhost/

Category: Other

Other Details: Can be anything

Twitch API: Helix or Kraken?

If you have registered your app from after July 2021 you are using helix

If you are using an app you registered before July 2021 you are using kraken /!\ Discontinued after February 2022 /!\

Final Setup

open main.py and edit the following values

apichoice: either helix or kraken twitchid: the Twitch Client ID twitchsecret: the Twitch Client Secret (only with kraken) dtoken: the Discord Bot Token

Thank you alot to YoannDeb for Helix API testing and setup and the .csv cleaner script!

How to use the Discord Bot

Commands

tw!info
tw!ping
tw!revenue [user] <option>
tw!check [user]
Owner
SSSEAL-C
I like putting all my projects here and loads of them are free to use for everyone. Enjoy! Contact me on discord realsovietseal#0001
SSSEAL-C
A collection of scripts to steal BTC from Lightning Network enabled custodial services. Only for educational purpose! Share your findings only when design flaws are fixed.

Lightning Network Fee Siphoning Attack LN-fee-siphoning is a collection of scripts to subtract BTC from Lightning Network enabled custodial services b

Reckless_Satoshi 14 Oct 15, 2022
The raid botnet for Telegram

telegram-raid-botnet The raid botnet for Telegram Что нужно сделать перед запуском? Установить модули pip3 install -r requirements.txt Добавить аккаун

Maxim 68 Jan 03, 2023
a Music bot for discord

Bot this is a discord bot made by AnHalfGuy.py#6031(ID: 747864072879603743) and HastagStopAnimalAbuse#5617(ID :349916852308279306) This Bot Is For Mus

A Discord Bot Development 1 Oct 29, 2021
An API wrapper for Discord written in Python.

disnake A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. About disnake All the contributors and develop

557 Jan 05, 2023
A free and open-source SMS/Call bombing application

TBOMB V0.1 A free and open-source SMS/Call bombing application NOTE: For Termux To use the bomber type the following commands in Termux: pkg install g

ᴀɴᴋɪᴛ ᴋᴜᴍᴀʀ 2 Dec 07, 2021
Herramienta para transferir eventos de Sucuri WAF hacia Azure Data Tables.

Transfiere eventos de Sucuri hacia Azure Data Tables Script para transferir eventos del Sucuri Web Application Firewall (WAF) hacia Azure Data Tables,

CSIRT-RD 1 Dec 22, 2021
Trading bot rienforcement with python

Trading_bot_rienforcement System: Ubuntu 16.04 GPU (GeForce GTX 1080 Ti) Instructions: In order to run the code: Make sure to clone the stable baselin

1 Oct 22, 2021
Auto-commiter - Auto commiter Github

auto committer Github Follow the steps below to use this repository: 1-install c

Arman Ebtekari 8 Nov 14, 2022
A Python library wrapping the iFixit (Dozuki) API.

A Python library wrapping the iFixit API. Status Working, but incomplete. Fully tested and documented. Hacking I highly recommend using virtualenv: [$

James Pearson Hughes 13 May 24, 2021
Yes, it's true :revolving_hearts: This repository has 301 stars.

Yes, it's true! Inspired by a similar repository from @RealPeha, but implemented using a webhook on AWS Lambda and API Gateway, so it's serv

510 Dec 28, 2022
YouTube playlist Files downloaded by FDM are not organized according to the original order on YouTube

Youtube-Playlist-File-Organizer YouTube playlist Files downloaded by Free Download Manager are not organized according to the original order on YouTub

David Mainoo 3 Dec 27, 2021
McTrade is a bot exploiting Binance API, open source! built in python !

Open Source Crypto Trading Bot using Binance API Report Bug · Request Feature Table of Contents About The Project Built With Getting Started Prerequis

Raphael Cohen 5 Jul 17, 2022
BSDotPy, A module to get a bombsquad player's account data.

BSDotPy BSDotPy, A module to get a bombsquad player's account data from bombsquad's servers. Badges Provided By: shields.io Acknowledgements Issues Pu

Rudransh Joshi 3 Feb 17, 2022
Python bindings for BigML.io

BigML Python Bindings BigML makes machine learning easy by taking care of the details required to add data-driven decisions and predictive power to yo

BigML Inc, Machine Learning made easy 271 Dec 27, 2022
A Telegram bot to download youtube playlists and upload them to telegram. (may be slow becoz youtube limitations)

YTPlaylistDL 📛 A Telegram bot to download youtube playlists and upload them to telegram. (may be slow becoz youtube limitations) 🎯 Follow me and sta

Anjana Madu 43 Dec 28, 2022
WhatsApp Multi Device Client

WhatsApp Multi Device Client

23 Nov 18, 2022
A script that writes automatic instagram comments under a post

Send automatic messages under a post on instagram Instagram will rate limit you after some time. From there on you can only post 1 comment every 40 se

Maximilian Freitag 3 Apr 28, 2022
An Advanced Telegram Bot to Play Radio & Music in Voice Chat. This is Also The Source Code of The Bot Which is Being Used For Playing Radio in @AsmSafone Channel ❤️

Telegram Radio Player V3 An Advanced Telegram Bot to Play Nonstop Radio/Music/YouTube Live in Channel or Group Voice Chats. This is also the source co

SAF ONE 421 Jan 05, 2023
Track player's stats, find out when they're online and grinding!

Hypixel Stats Tracker Track player's stats, find out when they're online and playing games! INFO Showcase Server: https://discord.gg/yY5qQHPar6 Suppor

4 Dec 18, 2022
A Telegram Bot which will ask new Group Members to verify them by solving an emoji captcha.

Emoji-Captcha-Bot A Telegram Bot which will ask new Group Members to verify them by solving an emoji captcha. About API: Using api.abirhasan.wtf/captc

Abir Hasan 52 Dec 11, 2022