An IRC Bot written in Node.js
You need to install a few packages before installing the node specific packages:
sudo apt-get install libicu-dev
Install the necessary node modules via:
npm install
To run the IRC bot you need to execute the following command:
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.
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.