2017-02-03 14:54:28 +00:00
|
|
|
# Janet
|
|
|
|
|
2017-02-03 23:05:26 +00:00
|
|
|
A NodeJS-based IRC bot
|
|
|
|
|
|
|
|
## Config
|
|
|
|
|
|
|
|
Configuration is stored in `config.json`. Example configuration file:
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"irc": {
|
|
|
|
"server": "localhost",
|
|
|
|
"port": 6667,
|
|
|
|
"user": "Janet",
|
|
|
|
"channels": [
|
2017-02-03 23:06:09 +00:00
|
|
|
"#channel1",
|
2017-02-03 23:05:26 +00:00
|
|
|
"#channel2"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|