npm

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.13latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.13
2.0.00
1.0.1040
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10

Package Sidebar

Install

npm i djs-template-gen

Weekly Downloads

43

Version

2.0.1

License

ISC

Unpacked Size

12.6 kB

Total Files

17

Last publish

Collaborators

  • gui6572bhxjx783