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]
You might also like...
List of twitch bots n bigots

This is a collection of bot account names NamelistMASTER contains all the names we reccomend you ban in your channel Sometimes people get on that list

Simple script to ban bots at Twitch chats using a text file as a source.

AUTOBAN 🇺🇸 English version Simple script to ban bots at Twitch chats using a text file as a source. How to use Windows Go to releases for further in

Twitch Points Miner for multiple accounts with Discord logging

Twitch Points Miner for multiple accounts with Discord logging Creator of the Twitch Miner -- PLEASE NOTE THIS IS PROBABLY BANNABLE -- Made on python

A unified API wrapper for YouTube and Twitch chat bots.

Chatto A unified API wrapper for YouTube and Twitch chat bots. Contributing Chatto is open to contributions. To find out where to get started, have a

TwitchAccountMaker - Twitch Account Maker with python
TwitchAccountMaker - Twitch Account Maker with python

Twitch Account Creator A Twitch Account Creator, Requires Capmonster.cloud Verif

Twitch Linux Typer

Twitch Linux Typer The most cursed Twitch chat bot Listens to twitch chat, and then types it handles hotkeys and button presses via the ^ char, eg ctr

This code is for a bot which will find a Twitter user's most tweeted word and tweet that word, tagging said user

max_tweeted_word This code is for a bot which will find a Twitter user's most tweeted word and tweet that word, tagging said user The program uses twe

A Telegram Bot with(Forwarder Bot + User Bot + More Features )

A Telegram Bot with(Forwarder Bot + User Bot + More Features )

Erhalten Sie wichtige Warnmeldungen des Bevölkerungsschutzes für Gefahrenlagen wie zum Beispiel Gefahrstoffausbreitung oder Unwetter per Programmierschnittstelle.

nina-api Erhalten Sie wichtige Warnmeldungen des Bevölkerungsschutzes für Gefahrenlagen wie zum Beispiel Gefahrstoffausbreitung oder Unwetter per Prog

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
Automatically send commands to send Twitch followers to any Twitch account.

Automatically send commands to send Twitch followers to any Twitch account. You just need to be in a Twitch follow bot Discord server!

Thomas Keig 6 Nov 27, 2022
Faster Twitch Alerts is a highly customizable, lightning-fast alternative to Twitch's slow mobile notification system

Faster Twitch Alerts What is "Faster Twitch Alerts"? Faster Twitch Alerts is a highly customizable, lightning-fast alternative to Twitch's slow mobile

null 6 Dec 22, 2022
Semplice pagina di informazione per sapere se e quando è uscito Joypad, il podcast a tema videoludico di Matteo Bordone (Corri!), Francesco Fossetti (Salta!) e Alessandro Zampini (Spara! per finta).

È uscito Joypad? Semplice pagina di informazione per sapere se e quando è uscito Joypad, il podcast a tema videoludico di Matteo Bordone (Corri!), Fra

Paolo Donadeo 32 Jan 2, 2023
Discord Token Generator of a project - Some stupids ppl are trying to leak it so i'm leaking faster :)

Original creator: Rolf (dort) HCaptcha Bypasser: h0nde Shark.Solar Discord Token Generator of a project - Some stupids ppl are trying to leak it so i'

Stanley 14 Sep 29, 2021
A Twitch bot to provide information from the WebNowPlayingCompanion extension

WebNowPlayingTwitch A Twitch bot made using TwitchIO which displays information obtained from the WebNowPlaying Compaion browser extension. Image is o

NiceAesth 1 Mar 21, 2022
A free, minimal, lightweight, cross-platform, easily expandable Twitch IRC/API bot.

parky's twitch bot A free, minimal, lightweight, cross-platform, easily expandable Twitch IRC/API bot. Features ?? Connect to Twitch IRC chat! ?? Conn

Andreas Schneider 10 Dec 30, 2022
Bot Telegram per creare e gestire un Babbo Natale Segreto con amici ecc

Babbo Natale Segreto: Telegram Bot Bot Telegram per creare e gestire un Babbo Natale Segreto con amici ecc. Che cos'è? Il Babbo Natale Segreto è un gi

Francesco Ciociola 2 Jul 18, 2022
Spotify Top Lists - get the current top lists of a user from the Spotify API and display them in a Flask app

Spotify Top Lists This is a simple script that will get the current top lists of a user from the Spotify API and display them in a Flask app. Requirem

Yasin 0 Oct 16, 2022
Automatically gets clips from twitch streams and uploads them to a YouTube channel.

Twitch Stream Highlights to YT Automatic Uploader (AutoBot Clipper) This script can be used to automatically extract highlights (or clips) from a twit

Teja Swaroop 57 Dec 12, 2022