Browse Source

fixed error in example

master
Steve Saldivar 12 years ago
parent
commit
7ed8b8ab57
  1. 8
      README.md

8
README.md

@ -3,7 +3,7 @@ LoyaltyBot
A TwitchTV viewer reward system A TwitchTV viewer reward system
Written in Node and JavaScript
Written in JavaScript and Node
Overview Overview
-------- --------
@ -34,7 +34,7 @@ example.js
````javascript ````javascript
var loyaltybot = require('./../lib/initialize.js'); var loyaltybot = require('./../lib/initialize.js');
LoyaltyBot.initialize({
loyaltybot.initialize({
// twitch info // twitch info
twitch : { twitch : {
channel : 'loyalty', channel : 'loyalty',
@ -42,7 +42,7 @@ LoyaltyBot.initialize({
subscribers : 'https://spreadsheets.google.com/feeds/list/****/od6/public/basic?alt=json' subscribers : 'https://spreadsheets.google.com/feeds/list/****/od6/public/basic?alt=json'
}, },
// currency system
// currency info
currency : { currency : {
name : 'Points', name : 'Points',
payrate : 15, payrate : 15,
@ -53,7 +53,7 @@ LoyaltyBot.initialize({
website : 'http://www.loyaltypoints.com' website : 'http://www.loyaltypoints.com'
}, },
// optional
// optional features
commands: true commands: true
}); });
```` ````

Loading…
Cancel
Save