Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.28 KB

File metadata and controls

31 lines (26 loc) · 1.28 KB

PlasticBot

Twitch bot with ability to tell jokes and look up Runescape stats and ge prices.

Features

Commands Example Description
!commands !commands shows available commands
!joke !joke tells a random one-liner joke (can't promise it will be funny)
!death !death spits out a random OSHA workplace fatality from '09 - '14
!who !who displays the current user (defined in config.js)
!skill name !skill smith displays the player's level, xp, and rank for a skill
!ge name/id !ge raw rocktail displays ge price and daily change for item

Installation

npm must be installed
  • Download zip or clone repo.
  • Run "npm install" from the command line
  • Edit config.js with your RSN/Twitch
  • Create account.js file (see below)
  • Run "npm start" from the command line

Twitch bots require Twitch accounts. Go to Twitch, make an account, and get the oauth key. Then create a file called account.js in the same directory as the other files. It should look like this (but with your own info):

module.exports = {
  username: "TwitchBotAccount",
  password: "oauth:4k3ij32lk23oij4lk52oij32"
}

note: I'd like to make a placeholder file for this but don't want it to overwrite mine... if you know how to do it make an issue