Source of a cool bot that I managed to make with discord.js. This bot's status cycles trough the price of Bitcoin, Ethereum, Dogecoin and Stellar. You can buy and sell crypto!!! LESGOOO buy Bitcoin to the MOON
- Buy and sell over 1000 cryptocurrencies with USD
- Send USD to other users
- Get real-time price data and visual price chart
- Price_as_bot_status(Bitcoin, Ethereum, Dogecoin, Stellar);
- DM price alerts
And the best thing is that all this is FREE!
This bot gives users the ability to check the current price of over 1000 different cryptocurrencies. The visual chart is not very consistent so the chart may not be given for every request.
EXAMPLE:
The bot's status cycles through Bitcoin, Ethereum, Dogecoin and Stellar Lumen.
EXAMPLE:
Users can also buy and sell crypto coins with USD.
EXAMPLE:
This bot uses only application commands!
/price [coin] //Get current price
/bal //Get your USD balance
/wallet [coin] //Get cryptocurrency wallet balance
/buy [amount] [coin] //Buy coins
/sell [amount] [coin] //Sell coins
/pay [amount] [@user] //Send USD to @user
/mine [answer] //Answer simple math question and receive USD.
/alert [coin] [price] //DMs if coin value is more than price
/alerts //Gives a list of every alert you have set
To get a new math question only type /mine
without the [answer] argument it will then give you a simple math question. To answer that question type /mine [answer]
and define the [answer]. If the answer was right you will receive USD reward.
Miner:
You can create price alerts with command /alert [coin] [price]
The bot sends you a private message when the coin's value is more than the price you defined.
Check the bot's ABOUT ME section. There might be some reason for it.
- Download the latest version
- Extract it with WinRAR, 7zip, WinZip...
- Run
npm install
through CMD or double click on theInstallModules.bat
file - Go to the Discord Developer Portal and grab your bot token
- Run the index.js:
node index.js
through CMD or double click on theStart.bat
file - The setup wizard will then ask: "Config file not found. Would you like to setup a new config or recover old data? s/r"
- Type
s
and hit enter - Paste your token and hit enter
- Then paste your bot's id and hit enter
- Then the wizard will ask if you want to give a price chart when users ask for the price of a coin: "Insert chart API token from chart-img.com (optional)" this is optional. You can get the API key from chart-img.com/account/api
- The bot should start if there were no errors
You should never write your bot's token, chart-img API key or client ID directly to the config.json
file, always use the wizard to change them!
To start the wizard just run node index.js
and when asks "Set new token?" type y
and hit enter.