Skip to content

nikklavzar/n3bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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