Skip to content
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.

Latest commit

 

History

History

scripts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

my twitch list script

  • this script is designed for gnu/linux, its a bash script
  • for automation, cleaning, checking, and all in one "file" for managing list.txt
  • verifies if user exists on twitch (twitch-dl)
  • download list.txt from here (curl)
  • alphabetizes and sorts list.txt
  • downloads json file bot list (external) and appends to list.txt (add your own list)
  • optional show diff between the final list and current list here

botlist is sanitized against "known good bots", an imprecise science, if you need removal submit an issue

twlist verify

software used in twlist (gnu/linux)

  • awk
  • bash
  • case
  • cat
  • curl
  • diff
  • echo
  • grep
  • jq (used to format json)
  • mv
  • rm
  • sed
  • sleep
  • sort
  • twitch-dl (python on github)
  • uniq
  • wget (removed, use curl)
  • while
  • xargs

twuserinfo.sh

bash script that reads list.txt and reports userinfo "created_at" date
ability to check userinfo for ONE user "twuserinfo jtv"
requires your oauth and client-id tokens

twautoban.sh (bash)

HELIX API login using your moderator:manage:banned_users authorization to a channel and "/ban" username from a list. also can ban in multiple channels...

requires: oauth="your_mod_streamer_oauth_token" clientid="your_helix_api_client_id"

usage: ./twitchautoban.sh moderatorname optional: ./twitchautoban.sh moderatorname 1 channelname

additional files: banlist.txt & channels.txt