Thanks to visit codestin.com
Credit goes to github.com

Skip to content

galaxyreader7/twitch-marbles-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Twitch chatbot for Marbles on Stream

Does this ever happen to you?

"Oh no I missed that my favorite streamer started their stream now i can't join in with Marbles!"

Well not anymore!

With this amazing chatbot you can always join in at a game of Marbles without having to miss a game!
Amazing, something you didn't know you desperately needed in your life.

Preperation

But before you are able to always play Marbles, you have to do a few things:

  1. If you don't have one already make a Twitch account, or just use the one you already have at the moment.
  2. Request an oauth code. You need to login, so it can generate the code for you.
  3. Register an application and request a client-id, so you can interact with Twitch's API.
  4. Don't forget to download Python to be able to run the program!
  5. Install the dependencies in requirements.txt with pip install -r requirements.txt.

Configuring the bot

For the bot configuration you have to create and .env file in the directory of the project.
Then you put in the following things:

TMI_TOKEN=oauth:
CLIENT_ID=
BOT_NICK=
BOT_PREFIX=!
CHANNEL=

TMI_TOKEN is the oauth token you generated beforehand.
CLIENT_ID can be found on the application page after you registered one.
BOT_NICK is the username of the account you logged into when registering your application.
BOT_PREFIX is the prefix that is used when in future instances there will be commands added to this bot.
CHANNEL is the channel that you want to connect to with the bot.

Run the program

Now you're all set!
The only thing you have to do is run the bot

python bot.py

About

Chatbot for Marbles on Stream

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages