This bot will update its status message with the current price of the desired cryptocurrency.
Is based on Minecraft Player Count Discord Bot by Spencer Torres
Just follow these steps:
- Have Node.JS installed.
- Clone this repository to a folder on your computer.
- Open a terminal in that folder, and install the packages with
npm install
- In the same terminal, type npm install discord.js
- Same thing for - npm install axios
For information on getting a bot token, follow the steps on the Discord developer documentation.
This was created for my Discord server, but I wanted to share it with added flexibility for anyone to use.
This relies on the API hosted at https://api.coingecko.com