disconode

1.0.3 • Public • Published

DiscoNode

DiscoNode is a small and lightweight wrapper for bot creation with the discord.js framework.

Installation

npm install --save disconode

Example usage

const DiscoNode = require('disconode');

let disco = new DiscoNode.Disco('YOUR_TOKEN');

disco.login().then(function() {
    console.log('Logged in.');
});

disco.registerCommand('ping', function(message) {
    message.soft.reply('pong');
}, 'Replies with pong.');

disco.setHelpCommand('help', '**Help Page**', true);

Links

Package Sidebar

Install

npm i disconode

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

29.1 kB

Total Files

13

Last publish

Collaborators

  • milan44