summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2021-12-09 00:27:31 +0000
committerJoe Robinson <joe@lc8n.com>2021-12-09 00:27:31 +0000
commit5f8120a4b5a1dbf24595765e96bad60cb7e7986e (patch)
tree98f30cb46a9a7fe6ed874e95a1f45e2abf68b1d8 /README.md
parentb70601162893587ab5fc1afa781f38c390612e8a (diff)
parentf1c86203def4af5237ac9b12841a4e45841dae29 (diff)
Merge branch 'master' of blatech.co.uk:wjoe/roboconomy
Diffstat (limited to 'README.md')
-rw-r--r--README.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..19f3137
--- /dev/null
+++ b/README.md
@@ -0,0 +1,33 @@
+roboconomy
+==========
+
+Setup
+-----
+
+Install dependencies:
+`pip install -r requirements.txt`
+
+Copy `config.yaml.example` to `config.yaml` and fill in the relevant values.
+
+Requires a MySQL DB running. Credentials are set in config.yaml
+
+
+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