Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.
/ generator-yamdbf Public archive

Easily generate base files necessary for creating Discord.js bots using YAMDBF

License

Notifications You must be signed in to change notification settings

zajrik/generator-yamdbf

Repository files navigation

This generator is out of date and is NOT compatible with YAMDBF 3.0.0+. I do not intend to bring this up to date or continue development on it.

generator-yamdbf NPM version Dependency Status

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

About

Easily generate base files necessary for creating Discord.js bots using YAMDBF

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published