PircBot' (this project; pronounced "PircBot prime") is a framework for writing IRC bots in Java. In particular, this project is a fork of jibble.org's PircBot (version 1.5.0). This project adds to PircBot:
- SSL support
- The
ConfigurablePircBot
class, allowing IRC bots to be configured easily - A build system using Apache Ant and Apache Ivy
- Other minor improvements
- Uses slf4j with log4j as backend (exclude to use different logger)
- Split the root object and event handler (new
IIrcEventHandler
interface andIrcProtocolEventHandler
base class) - Classes split into packages (e.g.
User
is now in.beans.User
)
To add PircBot to your Maven project, add this dependency and repository:
<dependency>
<groupId>cz.dynawest.pircbot</groupId>
<artifactId>PircBot-core</artifactId>
<version>1.7.0</version>
</dependency>
<repositories>
<repository>
<id>ondrazizka</id>
<url>http://ondrazizka.googlecode.com/svn/maven</url>
</repository>
</repositories>
PircBot has explicit dependency on Slf4j and Log4j. Exclude Log4j if you use different logger.
PircBot' can be built by typing:
$ mvn clean install
For general documentation on using PircBot' once it's installed, see the jibble.org PircBot website. See ReminderBot' for an example of how to use the new features provided by PircBot'.
This project is available on GitHub and Bitbucket. You may contribute changes using either.
Please report bugs and feature requests using the GitHub issue tracker.