A simple Telegram bot written in Java to retrieve information from Metal Archives
-
Java 23+
-
Maven
-
Retrieve the link to a random band's page.
-
Retrieve the first 10 upcoming albums from the upcoming albums list.
The bot requires the following two environment variables to exist:
-
METALLUM_BOT_TOKEN: Your telegram bot token.
-
METALLUM_BOT_NAME: Your telegram bot username.
Additionally, some tests make use of the following environment variable:
- CHAT_ID: The unique ID of the chat where the bot's messages should be sent.
-
Clone this repository .
git clone https://github.com/errebenito/metallumbot
or Download this repo as zip and unzip. -
Go to the metallumbot folder.
-
In your command line of choice, type the following:
mvn clean package
(optionally add-DskipTests
to skip execution of tests).
This will build metallumbot-X.Y.Z.jar in the target directory, where X.Y.Z is the current version number for the bot.
Released under the GNU General Public License version 3 or, at your option, any later version. See LICENSE.md for details.