1.0.1 • Published 9 years ago
generator-yamdbf v1.0.1
generator-yamdbf

Easily generate base files necessary for creating Discord.js bots using YAMDBF
Installation
First, install Yeoman and generator-yamdbf using npm or yarn.
npm install -g yo
npm install -g generator-yamdbf
-------------------------------
yarn global add yo
yarn global add generator-yamdbf
Bot project generation
To generate a new YAMDBF bot project, from the command line, run:
yo yamdbf [-t]
The optional -t
flag will generate the project using Typescript. typescript
, tslint
, and @types/node
will be added to the package dependencies and installed for you, but you will still need to install any necessary build dependencies and typings you would normally use.
For quick reference of Discord.js and YAMDBF typings installation:
typings install github:acdenisSK/discord.js-typings/discord.d.ts --save --global
typings install github:zajrik/yamdbf-typings/yamdbf.d.ts --save --global
Command class file generation
A command file base can be generated at any time for Javascript or Typescript using:
yo yamdbf:command [-t]
You'll want to run this from your project root, as it will try to put command files in ./src/commands
Getting To Know Yeoman
License
MIT © Zack Campbell