2019-03-07 17:56:24 +00:00
|
|
|
# DEPRECATED BY [babili-bot](https://tildegit.org/aewens/babili-bot)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
irc-bot
|
2018-07-13 16:59:52 +00:00
|
|
|
|
2018-07-14 02:04:48 +00:00
|
|
|
aewens's IRC bot for irc.tilde.team
|
|
|
|
|
|
|
|
## Setting up
|
|
|
|
|
2018-07-18 17:43:33 +00:00
|
|
|
* Install the dependencies using `$ npm install`
|
|
|
|
* Create the needed JSON files using:
|
2018-07-14 02:06:27 +00:00
|
|
|
|
|
|
|
```
|
2018-07-14 02:04:48 +00:00
|
|
|
$ cp config.example.json config.json
|
2018-07-14 02:06:27 +00:00
|
|
|
|
2018-07-14 02:04:48 +00:00
|
|
|
$ cp blacklist.example.json blacklist.json
|
2018-07-16 22:28:55 +00:00
|
|
|
|
|
|
|
$ cp memories.example.json memories.json
|
2018-07-14 02:04:48 +00:00
|
|
|
```
|
2018-07-18 17:43:33 +00:00
|
|
|
* Fill out the entries in `config.json`
|
|
|
|
* Run the bot using `node bot.js` or `npm start`
|
|
|
|
|
|
|
|
## FAQ
|
|
|
|
|
|
|
|
1. When someone runs /mode it sometimes breaks the bot, how do I fix this?
|
|
|
|
|
|
|
|
* In line 297 of node_modules/irc/lib/irc.js, change `} else {` to `} else if (channel.modeParams[mode]) {`
|