djs-template-gen
v2.0.1
Published
Como usar?
Downloads
108
Maintainers
Readme
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
});