Simple and extensible IRC Bot on Node!
git clone [email protected]:malderete/botonjs.git
cd botonjs
#create settings.js (you can use settings.js.example as base)
npm install
settings.js
module.exports = {
server: 'irc.freenode.org',
nickName: 'BotonJS',
loadPlugins: true,
debug: true,
logLevel: 'info',
userName: 'BotonJS',
realName: 'BotonJS',
channels: ['#channel1', '#channel2']
};
The main configuration file is settings.js, you can find an example in the source code. Some features are handled by environment variables, this approach allows the bot to change in runtime. For Plugin's configuration, its highly recommended to use environment variables to control the plugins behavior.
BLACKLISTED_NICKS: Comma separated values. Each value is a nicks which the bot is going to ignore.
# Set your environment first
node index.js
TODO