UNPKG

bitprophet

Version:

Crypto trading platform for Binance that uses chat bots as its interface

14 lines (11 loc) 344 B
var vars = require(__dirname + "/../vars.js") module.exports = { run: function(args, next) { var message = ":bulb: Commands\n" for(var i = 0; i < vars.commands.length; ++i) { var command = vars.commands[i] message += command.triggers().join(" | ") + " - " + command.description() + "\n" } next(null, message) } }