Giter Club home page Giter Club logo

twitch-raidban's Introduction

Twitch-Raidban

Program to assist with quickly banning lists of bots on Twitch

Building

To build manually you will first need to install Golang.

go install This command will build the program and output the binary as twitch-raidban to your $GOBIN directory. By default this will be ~/go/bin.

Prebuilt binaries are also offered through the releases on this repository for the main operating systems.

Usage

To run this program you will need to obtain an oauth token for your user. I typically make use of https://twitchapps.com/tmi/ which is documented as a recommended solution at https://dev.twitch.tv/docs/irc

twitch-raidban -channel mychannel -username mytwitchuser -token myouthtoken -file mybotslist.txt
Argument Name Description
channel The twitch channel to apply bans to
username The username for the twitch account to apply bans as
token The oauth token used for authenticating with twitch as the user
file The path to a txt file with a bot name on each line

This command loads the bots file and will parse each line as a name, and then will connect to the given channel and issue /ban commands. It will show output similar to:

Size of list: 200
Processing entry 1/200
Processing entry 2/200
Processing entry 3/200
Processing entry 4/200
Processing entry 5/200
...
Processing entry 200/200
Disconnecting from channel

You can view progress by watching the output counter as well as the list in the channel's twitch chat. The program is not smart enough to check if users are already banned before running but will output any messages from Twitch listing already banned users.

twitch-raidban's People

Contributors

sonarbeserk avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.