2013-07-09 21:46:40 +02:00
|
|
|
# DBot IRC Bot
|
2012-03-10 20:40:02 +01:00
|
|
|
|
|
|
|
## Introduction
|
|
|
|
|
2013-07-09 21:47:07 +02:00
|
|
|
DBot is an IRC bot which aims to be the fanciest IRC bot around - On
|
2012-12-31 05:18:15 +01:00
|
|
|
the general standard of software fanciness, dbot is statistically rated as being
|
|
|
|
'82% the same as bathing in fine, fine grape juice.'
|
2012-03-10 20:40:02 +01:00
|
|
|
|
2012-03-10 21:15:13 +01:00
|
|
|
Please note that this documentation is not complete and is a work in progress,
|
|
|
|
given I started it rather a long time after I began development of the project.
|
|
|
|
Please don't judge me too harshly for this as I am, in fact, mildly allergic to
|
|
|
|
writing documentation.
|
2012-03-10 21:14:47 +01:00
|
|
|
|
2013-05-26 17:55:20 +02:00
|
|
|
## Getting Started
|
2012-03-10 21:10:49 +01:00
|
|
|
|
2013-07-25 20:30:50 +02:00
|
|
|
To get started with DBot, you first need to decide on a database system to use.
|
|
|
|
DBot uses the [databank](http://github.com/e14n/databank) library, and each
|
|
|
|
module can be configured to use any database driver databank supports in its
|
|
|
|
respective config.json file. There is currently no default database driver
|
|
|
|
option.
|
|
|
|
|
|
|
|
The default for all modules is the 'redis' driver, and you can simply install
|
|
|
|
the Redis server to get going.
|
|
|
|
|
|
|
|
Once you have that set up, you can install DBot's dependencies, configure and
|
|
|
|
run the bot for the first time with the following command:
|
2012-03-10 20:40:02 +01:00
|
|
|
|
2013-05-26 17:55:20 +02:00
|
|
|
```
|
2013-08-31 03:15:20 +02:00
|
|
|
./install
|
2013-05-26 17:55:20 +02:00
|
|
|
```
|
2013-07-25 20:30:50 +02:00
|
|
|
|
|
|
|
## Upgrading
|
|
|
|
|
|
|
|
If you have used a previous version of DBot, then you can migrate most data
|
|
|
|
using the [dbot-migrate](https://github.com/reality/dbot-migrate) module.
|
|
|
|
Instructions on how to run this are included in the repository - remember to
|
|
|
|
remove db.json after migration, otherwise the instance will be slow!
|