BenStigsen / RustTwitch

A chatbot for Twitch written in Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RustTwitch

Twitch chatbot written in Rust.


Features

  • Threading

  • Global ban protection

  • Easy command management

  • Color output


Usage / Setup

Create a file called credentials.txt, add the following three lines to it:

oauth:some_long_token_here
botname
channel

Replace the oauth token, botname and channel with your own values.


Add commands to commands.rs in the handle_commands() function.

Then you can

  • Respond directly with a string
  • Call a function which will do / return something

To-Do

  • Add API commands

  • Add easy configuration

  • Add delay between requests (global ban protection)

  • Add response loading from files

About

A chatbot for Twitch written in Rust.

License:MIT License


Languages

Language:Rust 100.0%