1.0.3 • Published 6 years ago

fnc-utils v1.0.3

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
6 years ago

#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

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

TBA

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago