Skip to content

Thibstars/Currency-Converter-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Currency Converter Bot Build Status codecov Discord Bots

Discord bot allowing currency conversions and rates listing. This bot uses the same API as https://currencyconversion.be.

Hosting

Public

This bot has been discontinued and is thus no longer publicly hosted. Apologies for any inconvenience.

Private (0.2.7 and before)

This bot can also be self-hosted up until version 0.2.7. The newer version calls an API maintained separately.

Usage

In order to run the application, one must first add a Discord bot token to bot.token in the token.properties file. Note that a bot token should never be committed in git!

When running directly using java -jar you can also pass your token as a first run argument instead. This is also the used approach in the Dockerfile.

To start using the bot itself, it is recommended to issue the 'help' command (don't forget the prefix, which is '/' by default) to retrieve an overview of available commands. Each command has a similar help overview which can be called with the option: -h or --help (e.g.: convert -h).

Docker

When running the application from the Dockerfile make sure to add a new BOT_TOKEN environment variable with the bot token as value so it can be picked up in the underlying java -jar entrypoint command.