Bot made to persistently store the score of a certain player and make transactions possible from that score.
Use the following command to start the bot, but first add your discord api token and your preferences in the config.json file.
node .
# Adds the value (possibly being negative) for the mentioned user. admin only command
$addcoin <value> <@username>
# Returns a list of the 'top 5' richest server scores
$magnata
# Show your current balance
$mywallet
# Transfers an amount from your account to that of the mentioned user (cannot be negative)
$deposit <value> <@username>
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.