Git Product home page Git Product logo

twitch-chat-joiner's Introduction

Twitch Chat Joiner

Made to bot services like StreamElements, which give you points for staying in chat.

If you're looking for a program to bot Twitch's in-built points system, I recommend you use Tkd-Alex's Twitch Channel Points Miner.

Requirements

  • Python3.8
  • aiohttp (Async Request Library), bottom (Async IRC Library), rich (Pretty Printing)

Installation

  • git clone https://github.com/TheOnlyWayUp/Twitch-Chat-Joiner twitch_chat_joiner
  • cd twitch_chat_joiner
  • python3.8 -m pip install -r requirements.txt
  • python3.8 async_twitch.py

Configuration

{
    "bot_username": "",
    "client_id": "",
    "client_secret": "",
    "oauth_token": "",
    "channels": [],
    "wait_time": 0,
    "verbose": false
}
  • bot_username: Your account username
  • client_id: Your Client ID (Create an application here to get the client id & client secret)
  • client_secret: Your Client Secret (From the application you just made)
  • oauth_token: OAuth Token to access IRC (You can get it here)
  • channels: List of Twitch Streamer names whose chats the bot should join
  • wait_time: How often the bot should check if streamers are online/offline and join their chats (in seconds)
  • verbose: Boolean of whether or not events should be logged to console (People joining, leaving, chat messages, pings, notices, etc.)

TheOnlyWayUp#1231


TheOnlyWayUp ยฉ 2023

twitch-chat-joiner's People

Contributors

theonlywayup avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

twitch-chat-joiner's Issues

Error on launch

when launching the app

python3.8 async_twitch.py
Traceback (most recent call last):
File "async_twitch.py", line 24, in
config = json.load(handler)
File "/usr/lib/python3.8/json/init.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 6 column 18 (char 217)

I suspect the issue with my channels list. It looks like this

"channels": [tfue,shroud],

if that isn't the problem, any idea what could be?

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.