Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

v6.0.0

Latest
Compare
Choose a tag to compare
@appellation appellation released this 16 Aug 17:37
· 41 commits to master since this release
  • Reorganized some internals
  • CommandLoader has be renamed to CommandRegistry to better reflect its function. Relevant internal properties have been renamed to reflect this change.
  • Client config options have been trimmed down. Many of these options are passed to properties of the class for which they're relevant: for instance, you would use client.handler.validator instead of client.config.validator. This also means that the client config property has been removed.
    • Some other non-config related properties have been moved to more relevant classes (e.g. HandlesClient#ignore is now CommandHandler#ignore).
  • All dependencies have been removed.
    • There is a new internal Queue class.
  • Global middleware has been added. See CommandHandler#middleware for details.
  • Typescript target has been reduced to ES2015 for compatibility with existing stable Discord.js releases.
  • Middleware events have been removed. The middleware process is now encompassed within command events.
  • All HandlesClient property names are now handles as opposed to client to avoid confusion with the Discord.js client.