This bot will update its status message with the current price of the desired cryptocurrency.
This bot is really easy to use.
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
- Open the
.env-template
file and configure it to your liking - Access here and create a New Application
- Get the application ID to fill URL bellow
- Get the Server ID from your server by right click then
Copy ID
. SetSERVER_ID
environment with this value. - Select Bot Tab then Add Bot
- Now copy the token and set the
DISCORD_TOKEN
environment - Access the url replacing the fields
https://discord.com/api/oauth2/authorize?client_id=xxxxxxx&permissions=0&scope=bot%20applications.commands
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