blob: 19f3137964e5fd3c3cf92551f98f11fc2a4bbcf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
|