Replaced kulmapaikka configuration with example

master
lanxu 2017-07-15 14:01:11 +03:00
parent a3c9cf4f76
commit 3fec503fda
2 changed files with 41 additions and 107 deletions

41
config.example.js Normal file
View File

@ -0,0 +1,41 @@
var config = {
plugins: [
'Character1',
'Character2',
'Dice',
'InstantAnswer',
'Kernel',
'Tweet',
'Url',
'Weather',
'Joke',
],
irc: {
connect: true,
server: 'irc.example.com',
nick: 'My bot',
channels: ['#botdev']
},
members: {
'lanxu': {
user: /lanxu$/,
host: /^(.*)example\.com$/
},
},
owmCityIds: {
Tampere: 634963,
Helsinki: 658225
},
keys: {
twitter: {
consumerKey: '',
consumerSecret: ''
},
google: {
apiKey: ''
},
owm: {
apiKey: ''
}
}
};

View File

@ -1,107 +0,0 @@
var config = {
plugins: [
'Character1',
'Character2',
'Dice',
'InstantAnswer',
'Kernel',
'Tweet',
'Url',
'Weather',
'Joke',
],
irc: {
connect: true,
server: 'irc.elisa.fi',
nick: 'Ookami-dev',
channels: ['#kulmapaikka-dev']
},
members: {
'lanxu': {
user: /julankin$/,
host: /^jumi\.lut\.fi$/
},
'lanxu2': {
user: /lanxu$/,
host: /(.*)\.elisa-laajakaista\.fi$/
},
'lanxu3': {
user: /lanxu/,
host: /(.*)\.kapsi\.fi$/
},
'asdfas': {
user: /asdfas$/,
host: /(.*)\.ssp\.fi$/
},
'asdfas2': {
user: /Asdfas$/,
host: /(.*)\.elisa-mobile\.fi$/
},
'cbd': {
user: /cbd$/,
host: /kapsi\.fi$/
},
'fitzhood': {
user: /Fitzhood$/,
host: /(.*)ssp\.fi$/
},
'mindflayer': {
user: /mindflaye$/,
host: /(.*)opintanner\.fi$/
},
'mindflayer2': {
user: /mindflaye$/,
host: /(.*)inet\.fi$/
},
'pariah': {
user: /rautia$/,
host: /mozart\.cc\.tut\.fi$/
},
'zoid': {
user: /jolaakso$/,
host: /kapsi\.fi$/
},
'palin': {
user: /Palin$/,
host: /(.*)\.elisa-mobile\.fi$/
},
'palinKoti': {
user: /Palin$/,
host: /(.*)\.elisa-laajakaista\.fi$/
},
'rootmer': {
user: /ror$/,
host: /(.*)\.inet\.fi$/
},
'masaKapsi': {
user: /maruohon$/,
host: /kapsi\.fi$/
},
'masaJumi': {
user: /maruohon$/,
host: /jumi\.lut\.fi$/
},
'masaAura': {
user: /masa$/,
host: /(.*)\.ssp\.fi$/
},
},
owmCityIds: {
Tampere: 634963,
Karinainen: 654059,
Lappeenranta: 648900,
Helsinki: 658225
},
keys: {
twitter: {
consumerKey: '',
consumerSecret: ''
},
google: {
apiKey: ''
},
owm: {
apiKey: ''
}
}
};