This project is based on discord-stock-ticker. Instead of starting an api server that can be called to manage bots, this project lets you define the bot in a json file, and then simply run the binary file.
The goal is to keep this project as simple as possible for any rookies to modify the code easily to achieve whatever they need.
-
Download the latest release
-
Extract the compressed release to get files including the release binary
simple-discord-price-bots
-
Add a folder
bots
to where the release binary is. -
Download the sample.json into
bots/sample.json
-
Rename the
sample.json
toanyname.json
, and modify the content based on Bot Configuration -
Run the
simply-discord-price-bots
and that's it!
{
"name": "bitcoin", # string: name of the crypto from coingecko
"crypto": true, # bool: always true for crypto
"ticker": "1) BTC", # string/OPTIONAL: overwrites display name of bot
"color": true, # bool/OPTIONAL: requires nickname
"decorator": "@", # string/OPTIONAL: what to show instead of arrows
"currency": "aud", # string/OPTIONAL: alternative curreny
"currency_symbol": "AUD", # string/OPTIONAL: alternative curreny symbol
"pair": "binancecoin", # string/OPTIONAL: pair the coin with another coin, replaces activity section
"pair_flip": true, # bool/OPTIONAL: show <pair>/<coin> rather than <coin>/<pair>
"activity": "Hello;Its;Me", # string/OPTIONAL: list of strings to show in activity section
"decimals": 3, # int/OPTIONAL: set number of decimal places
"nickname": true, # bool/OPTIONAL: display information in nickname vs activity
"frequency": 10, # int/OPTIONAL: seconds between refresh
"discord_bot_token": "xxxxxxxxxxxxxxxxxxxxxxxx" # string: dicord bot token
}