Alexander 0ad4d2c19e | ||
---|---|---|
.mvn/wrapper | ||
src | ||
.editorconfig | ||
.gitignore | ||
README.adoc | ||
mvnw | ||
mvnw.cmd | ||
pom.xml |
README.adoc
Ircbot
A first version of an IRC bot that plays the #counting game on IRC, I have run this on irc.tilde.chat
The whole program is not very polished yet, most importantly it does not handle disconnects from the server.
I am running this by connecting to a bouncer (currently tested with Soju and ZNC), it will probably work with a direct IRC connection as well, however this may require some small changes (untested at this time).
The server and account is configured in a file config.properties like this:
nick=nickname
password=serverpass
user=nickname/irc.network@ircbot
realname=Real Name
hostname=bouncerhost
port=6697
ssl=true
Since the program does not handle nickserv or sasl yet, it will only work if the server supports login via password, which the soju bouncer does.
Please note that this is mostly a proof of concept, actually running the program is quite boring and is certainly cheating.
Building
To package your application:
./mvnw clean package
To run your application:
./mvnw clean compile exec:java
Help
If you want to talk about the program, come to irc.tilde.chat/#counting-meta
or send me a mail at alexlehm/at/gmail.com