fnc-utils
v1.0.3
Published
A library which helps to format discord command messages.
Downloads
9
Readme
#Future NOW Crew Utilities
Installation
$ npm install fnc-utils --save
Usage
const Utility = require('fnc-utils');
// Example Discord command
var command = 'test-command -f some content'
/* From the Master Bot */
var masterCommand = Utility.createBotCommand(command);
// {"name":"test-command","id":"12345","flags":[ f ],"content":"some content"}
/* From the Slave Bot */
var slaveCommand = Utility.parseBotCommand(masterCommand);
// { name: 'test-command',
// id: '12345',
// flags: [ f ],
// content: 'some content' }
Authors
- Ed Fabre - Dev - Ed's Github | Ed's Bitbucket
- Ricky Sokel - Dev - Ricky's Github | Ricky's Bitbucket
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
TBA