patron
v4.0.0
Published
The cleanest command framework for discord.js and eris.
Downloads
7
Maintainers
Readme
About
Patron is an efficient and maintainable command framework for discord.js and Eris that aims for true flexibility. Patron doesn't have a modified client, manage the message event for you, or clutter other libraries with extensions. Patron has full support for TypeScript, as well as ECMAScript Modules.
Should I use Patron?
Patron isn't designed for beginners, but for those who want a highly flexible framework and fast development time. Bots with complex or many features will see higher maintainability and reusable code.
Installation
Patron is available on NPM and can be installed easily.
npm install patron
If you are using TypeScript (or rely on typings for code completion) you will need to use an additional command to properly set up typings. You need to have the Discord library installed beforehand. This command will need to be run again if you switch between libraries.
npx patron --typings=eris // or 'discordjs'
Documentation
Patron's API documentation is in an index.d.ts
file with detailed comments, and there's a folder of guides explaining features with example code.