patron
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

Patron
Discord Server NPM Version NPM Downloads Build Status Dependencies License

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.

Package Sidebar

Install

npm i patron

Weekly Downloads

1

Version

4.0.0

License

LGPL-2.1-or-later

Unpacked Size

195 kB

Total Files

61

Last publish

Collaborators

  • eljay_t