discordjs-decorators
v2.1.0
Published
Bringing typescript decorators to discord.js
Readme
Discord Decorators
This framework is made for users using typescript, I do not support the use of plain Javascript
This project is using typescript's decorator, you have to set the
experimentalDecoratorsoption totruein your tsconfig file.
Developer orientated discord.js Framework based on Typescript.
Features
- Simple to use
- Powerful
- A lot of configuration possible
Getting Started
Please look here for details on how to get running on a dev environment.
Prerequisites
What things you need to install the software and how to install them
npm i discord.js --saveInstalling
Install with
npm i discordjs-decorators --save # yarn add discordjs-decoratorsand install discord.js
npm i discord.js --save # yarn add discord.jsYou can now use discordjs-decorators in your project.
Running the tests
Unit tests
yarn only-testCode style
yarn lint Implementation tests
Important: You need to setup a config(.js) file in the
testfolder which exports a JSON object with a token and owner property.
yarn test:discordBuilt With
Contributing
Please read CONTRIBUTING.md for details.
License
This project is licensed under the GNU General Public License v2.0.
Acknowledgments
This project is inspired by yamdbf.
