Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/BenStigsen/RubyTwitch
A chatbot for Twitch written in Ruby.
https://github.com/BenStigsen/RubyTwitch
chat-bot chat-bot-template chatbot ruby ruby-application twitch twitch-api twitch-bot twitch-irc twitch-tv twitchbot twitchirc twitchtv
Last synced: 26 days ago
JSON representation
A chatbot for Twitch written in Ruby.
- Host: GitHub
- URL: https://github.com/BenStigsen/RubyTwitch
- Owner: benstigsen
- Created: 2018-03-11T21:23:46.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-11T18:52:12.000Z (over 5 years ago)
- Last Synced: 2024-08-03T13:01:58.442Z (4 months ago)
- Topics: chat-bot, chat-bot-template, chatbot, ruby, ruby-application, twitch, twitch-api, twitch-bot, twitch-irc, twitch-tv, twitchbot, twitchirc, twitchtv
- Language: Ruby
- Homepage:
- Size: 7.81 KB
- Stars: 8
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-twitch-dev - BenStigsen/RubyTwitch - Chatbot for Twitch. (Libraries / Ruby)
README
## RubyTwitch
Twitch chatbot written in Ruby.
---
### Features
* Threading
* Global ban protection
* Easy command management
* Color output
---
### Setup
Create a file called **credentials.txt**, add the following three lines to it:
```
oauth:some_long_token_here
botname
channel
```_Of course you're going to replace the oauth token, botname and channel with your own values._
That's it! Now you can run it, either by double clicking `main.rb` or by running `ruby main.rb` from the console.
---
### Configuration
The first couple of lines in `configurator.rb` contains two global variables. `prefix` and `max_messages`.
`prefix` is the symbol a person in chat uses to trigger a command.
`max_messages` is the max amount of messages to keep in the queue which the chat bot is going to respond to.
---
### To-Do
- [x] Add API commands
- [x] Add delay between requests
- [x] Add response loading from files