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