From 95e22dd0c8aa7e91ff3922340d6c53be3401d915 Mon Sep 17 00:00:00 2001 From: Steve Saldivar Date: Tue, 7 May 2013 14:19:15 -0700 Subject: [PATCH] example and readme update --- README.md | 4 ++-- users/example.js | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 166769e..85cecae 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Basic Setup example.js ````javascript -var LoyaltyBot = require('./lib/initialize.js'); +var loyaltybot = require('./../lib/initialize.js'); LoyaltyBot.initialize({ // twitch info @@ -44,7 +44,7 @@ LoyaltyBot.initialize({ // currency system currency : { - name : 'LoyaltyPoints', + name : 'Points', payrate : 15, host : '127.0.0.1', user : 'mysql_user', diff --git a/users/example.js b/users/example.js index efcde8b..e76a026 100644 --- a/users/example.js +++ b/users/example.js @@ -1,24 +1,24 @@ var loyaltybot = require('./../lib/initialize.js'); -loyaltybot.initialize({ +LoyaltyBot.initialize({ // twitch info twitch : { - channel : 'loyaltybot', - bot : {name: 'LoyaltyBot', password: 'password'}, + channel : 'loyalty', + bot : {name: 'LoyaltyBot', password: 'loyalty!loyalty!loyalty!'}, subscribers : 'https://spreadsheets.google.com/feeds/list/****/od6/public/basic?alt=json' }, - // currency info + // currency system currency : { name : 'Points', payrate : 15, - host : '1.1.1.1', - user : 'loyalty', - password : 'pass', - database : 'loyaltypoints', + host : '127.0.0.1', + user : 'mysql_user', + password : 'mysql_password', + database : 'mysql_database', website : 'http://www.loyaltypoints.com' }, - // optional features + // optional commands: true }); \ No newline at end of file