- create an account on Moon
- deposit at least 5$
- create a new discord bot and get bot access token
- get your moon account access token (detailed more in bottom of readme)
- you must have python installed
- run
pip install -r requirements.txt
- opens
config.json
editbot_access_token
with your discord bot token - run
app.py
! - run
/setup
command | usage |
---|---|
/setup | save your moon account access token to bot |
/generate | generate a new vcc and delete old one |
/transcations | get your lastest 10 transactions |
-
Go to the Moon website on your desktop browser and log into your account.
-
Next, press Ctrl+Shift+I (or Cmd+Option+I on Mac) or(right click + inspect) on your keyboard to enter Developer Tools. Click Network from the toolbar at the top.
-
Reload the tab by pressing F5.
-
There will be many more values within Network. Type onchain/ into the field marked Filter. From the results below, click latest one.
-
Within invoice, click the Headers tab. Scroll down until you see authorization.after
Bearer
This is your moon access token.