djs-template-gen
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

About

A simple library that generates bot bases for Discord.


Installation

npm i djs-template-gen

Example Usage


Slash example

const { TemplateGenerator, BaseTypes } = require('djs-template-gen');

const generator = new TemplateGenerator();
generator.createBase({
  type: BaseTypes.Slash,
  templateName: 'slash'//op
});

Prefix example

const { TemplateGenerator, BaseTypes } = require('djs-template-gen');

const generator = new TemplateGenerator();
generator.createBase({
  type: BaseTypes.Prefix,
  templateName: 'prefix'//op
});

Useful Links

Package Sidebar

Install

npm i djs-template-gen

Weekly Downloads

27

Version

2.0.1

License

ISC

Unpacked Size

12.6 kB

Total Files

17

Last publish

Collaborators

  • gui6572bhxjx783