Skip to content

A chatbot for Twitch written in Rust.

License

Notifications You must be signed in to change notification settings

BenStigsen/RustTwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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