A fun telegram bot written in Java
This repository has been archived on 2026-02-24. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2019-06-18 10:04:03 +01:00
.idea Updated README 2018-03-05 20:58:34 +01:00
conf Applied new formatting rules and refactored a bit 2018-03-03 17:19:55 +01:00
src/main Added bitchwhere 2019-06-18 10:04:03 +01:00
.gitignore Updated .gitignore for IDEA 2018-03-03 16:20:54 +01:00
GodfishBot.iml Fixed some things, pointed MLPCommand to Derpybooru 2018-03-03 22:57:26 +01:00
LICENSE Added LICENSE file 2018-03-03 14:42:23 +00:00
nb-configuration.xml Initial code commit 2017-05-09 21:17:57 +00:00
nbactions.xml Initial code commit 2017-05-09 21:17:57 +00:00
pom.xml Added bitchwhere 2019-06-18 10:04:03 +01:00
README.md Updated README 2018-03-05 20:58:34 +01:00

GodfishBot

This is a multi-purpose Telegram bot written in Java.
It uses multiple web APIs to pull in various kinds of data.

How to set up

Using maven on the command line

  1. Install maven and cd into the project dir
  2. mvn compile && mvn package
  3. Add your API token(s) to the file called config.json in the target folder. The Telegram Bot Token is required, the others are all optional.
  4. java -jar target/GodfishBot-<version>-jar-with-dependencies.jar

Using IntelliJ IDEA

The process using IDEA is not working perfectly at the moment.
Open the folder (it's an existing project), let it index, run a Build, enter your bot token (and optionally other tokens) in target/config.json, and Run 'Main'. It should work in theory. Manual rebuilds may be required on code changes, haven't got that working yet.