A Twitch Bot, in Ruby
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Tearzz 3590467376
Deleted examplecommand.txt
6 years ago
Responses Deleted examplecommand.txt 6 years ago
CommandsHandler.rb Updated CommandsHandler.rb 6 years ago
LICENSE Initial commit 6 years ago
README.md Updated README.md 6 years ago
TwitchBot.rb Updated TwitchBot.rb 6 years ago
credentials.txt Added chatbot Ruby script and "credentials.txt" 6 years ago

README.md

TwitchChatbot

A simple chatbot for Twitch written in Ruby. Used for handling commands and previewing chat so that you don't need to have the browser open and can avoid using a lot of RAM and CPU.


Preview

alt text


I use this chatbot to preview chat without having a browser open so that I save CPU and RAM. But as you can see in the preview image it's also able to handle custom commands including API commands.


How To Use:

  1. Open "credentials.txt" and replace OAUTH, BOTNAME and CHANNEL with the values you need.
  2. Run "TwitchBot.rb"

Adding Commands:

  1. Open "TwitchBot.rb" and go to line 42-44, add your commands.
  2. If you're adding commands to the commands array, go to folder "Responses" and add the command as a text file in all lowercase. Examples have been included