Demonstration HelloWorld-esque bot for the CanDoGram framework
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
faces/META-INF
src/main
.gitignore
pom.xml
readme.md

readme.md

LaunchCanDoGram - Hello World Edition

This is a super minimal example of a bot that has two commands. To use this bot, you'll need the actual CanDoGram artifacts, which you can find here.

The /hello command takes no parameters and greets the user politely, then as a bonus sends the user a picture of a cat.

The /dice command takes one parameter of the form XdY, where X is a number representing how many dice should be rolled, and Y represents how many dice should be rolled.

This bot can be launched by deploying it into a Java EE compatible container. It's only been tested on WIldfly 13 though.

But it works fine.