Browse Source

user file example

master
Steve Saldivar 12 years ago
parent
commit
8a6f10eaa7
  1. 9
      .gitignore
  2. 24
      users/example.js

9
.gitignore

@ -173,4 +173,11 @@ tools/
logs/*
bitly.js
update.js
users/
ArcherBot.js
CookieMonsterBot.js
InternetBot.js
JsonParser.js
KarmaBot.js
Knowledge_Bot.js
WizardBot.js
XBucksBot.js

24
users/example.js

@ -0,0 +1,24 @@
var loyaltybot = require('./../lib/initialize.js');
loyaltybot.initialize({
// twitch info
twitch : {
channel : 'loyaltybot',
bot : {name: 'LoyaltyBot', password: 'password'},
subscribers : 'https://spreadsheets.google.com/feeds/list/****/od6/public/basic?alt=json'
},
// currency info
currency : {
name : 'Points',
payrate : 15,
host : '1.1.1.1',
user : 'loyalty',
password : 'pass',
database : 'loyaltypoints',
website : 'http://www.loyaltypoints.com'
},
// optional features
commands: true
});
Loading…
Cancel
Save