A Discord bot for checking crypto to crypto/fiat prices.
- cryptocompare JavaScript API to provide realtime data.
- chart.js Generating charts based on realtime & historical data.
- chartjs-node-canvas Rendering charts server side
- crypto-color Getting accurate RGBA color data for cryptocurrencies.
- currency-symbol-map to provide currency symbols.
- cryptocurrencies Allows for coverting tickers into readable names.
- format-currency to format currency data.
- discord.js JavaScript discord API.
- The script
npm run devdepends on nodemon being installed. - Does not use the NodeJS import standard, instead uses ECMA script modules
// instead of
const Discord = require('discord.js');
// we can now write
import * as Discord from "discord.js";
import { Client, Intents } from "discord.js";This works as the package.json has { "type": "module" } and is run with the flag --experimental-modules
- To create an API Key, go to https://www.cryptocompare.com/cryptopian/api-keys and make sure you give it the "Read All Price Streaming and Polling Endpoints" permission.