ErisCasper.java is a Java library for making Discord bots.
It uses RxJava2 to provide a reactive API.
Be sure to replace VERSION
with the actual version you wish to use.
The latest version is
<dependency>
<groupId>com.github.princesslana</groupId>
<artifactId>ErisCasper.java</artifactId>
<version>VERSION</version>
</dependency>
compile 'com.github.princesslana:ErisCasper.java:VERSION'
There are example bots included in the github repository
here.
To run these you will need to setup your bot token in the EC_TOKEN
environment variable.
Then:
$ mvn compile exec:java -Dexec.mainClass=com.github.princesslana.eriscasper.examples.<classname>
For example, to run PingBot:
$ mvn compile exec:java -Dexec.mainClass=com.github.princesslana.eriscasper.examples.PingBot