Project - Twitch Chat Bot for Ravenfall
Very early days, work in progress chat bot written in node for the game Ravenfall. For more information, see the following;
GitHub: https://github.com/zerratar/
Game Client Releases: https://github.com/zerratar/Ravenfall/releases/
Twitch: https://www.twitch.tv/zerratar/
Game Website: http://ravenfall.stream
Note: The '!' is dependant on the prefix in the config, if you change that, your commands will start with that instead.
!join
- Joins the game!!leave
- Leaves the game!
!train <skill name>
- Train a skill of your choosing - See skills below.!traininfo
- Show what you are currently training!raid
- Join the raid, will you win?!!stats
- Shows your current stats!stats <skill>
- Shows information for a specific stat!res
/!resources
- Show your current resources!
ferryenter
/embark
- Get on the boat! - Provide an island name to try and sail!ferryleave
/disembark
/stop
- Get off the boat!travel <destination>
/sail <destination>
- See the world, travel to a different island
!togglehelmet
- Toggle your helmet on/off!togglepet
- Toggle through all of your pets, awwww
!kick <playername>
- Will attempt to kick the player from the game
!observe <username>
- Observe a specific player
!startraid
- Start an in game boss raid! Raaawr!!raid <username>
/!raidwar <username>
- Start a raid war against another streamer!
- With the account you want to use as your twitch chat bot, generate a token at this link.
- Edit
./config/config.json
- Example below; - Run
npm install
- Run
npm run start
Example config.json
{
// Command prefix for the twitch chat.
"prefix": "!",
// The username of the bot account for twitch chat
"botUsername": "superbot_3000",
// The token generated in step 1, including the 'oauth'
"botToken": "oauth:xxxxxxxxxxxxxxxxxxx",
// The channel the bot will be running in, i.e the streamer username
"twitchChannel": "streamer_name"
}
npm run build
will transpile the project as it makes use of ES6 functionality.npm run start
will run the build command, and then start the bot.