Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.02 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.02 KB

Commands

;global, ;price [symbol], ;info [symbol] & more coming...

Requirements

Node.js with npm is required.

Installation

Run npm install inside the source folder to install dependencies from package.json.

API keys

Set your Discord bot token in auth.json.

token

Set your Coinmarketcap API key in cmc-info's constructor call.
Example (from bot.js):

const cmc_api = require("cmc-info");
let cmc = new cmc_api("API_KEY");

Running

Run with node bot.js.

Packages used

Discord API: discord.js
Coinmarketcap API: cmc-info