Skip to content

CWhits/DiscordCryptoStatus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordCryptoStatus

This bot will update its status message with the current price of the desired cryptocurrency.

Example bot setup.

How to use

This bot is really easy to use.

Just follow these steps:

  1. Have Node.JS installed
  2. Clone this repository to a folder on your computer
  3. Open a terminal in that folder, and install the packages with npm install
  4. Open the .env-template file and configure it to your liking
  5. Access here and create a New Application
  6. Get the application ID to fill URL bellow
  7. Get the Server ID from your server by right click then Copy ID. Set SERVER_ID environment with this value.
  8. Select Bot Tab then Add Bot
  9. Now copy the token and set the DISCORD_TOKEN environment
  10. 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.

Extra Info

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

References

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%