An open API service indexing awesome lists of open source software.

https://github.com/afritzler/node-irc-bot

An IRC Bot written in Node.js that will amuse your Channels by telling Jokes
https://github.com/afritzler/node-irc-bot

bot irc irc-bot jokes

Last synced: 24 days ago
JSON representation

An IRC Bot written in Node.js that will amuse your Channels by telling Jokes

Awesome Lists containing this project

README

          

node-bot
========

An IRC Bot written in Node.js

# Prerequisits

You need to install a few packages before installing the node specific packages:

```
sudo apt-get install libicu-dev
```

# Usage

Install the necessary node modules via:

```bash
npm install
```

To run the IRC bot you need to execute the following command:

```bash
node bot.js BOTNAME IRCSERVER "COMMA_SEPERATED_CHANNELLIST" PATH_TO_DATAFILE
```

In order to get a joke from the bot you need to type the following in one of the
channels:

```
BOTNAME, tell me a joke
```

The result will be a random quote from the ```DATAFILE``` you provided.

# License and Authors

Authors: Andreas Fritzler

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.