README.md 776 Bytes
Newer Older
Joe Robinson's avatar
Joe Robinson committed
roboconomy
==========

Setup
-----

Install dependencies:
`pip install -r requirements.txt`

Copy `config.yaml.example` to `config.yaml` and fill in the relevant values.

Joe Robinson's avatar
Joe Robinson committed
Requires a MySQL DB running. Credentials are set in config.yaml

Joe Robinson's avatar
Joe Robinson committed

Initialising
------------

Run `python initialise_db.py` to populate the database with users and EXP.

Running
-------

Run `python bot.py` and leave it running to listen for messages

Commands
--------

Currently response to the following commands in discord:

- /coins: Shows your current coins
- /daily: Gives you some coins once a day (or just any time at the moment)
- /coin_flip [coin bet] [heads or tails]: Flips a coin. Gives you double your bet if you guess correctly
- /dice: Rolls some dice. Doesn't do anything with the result