This repository has been archived by the owner on Aug 30, 2019. It is now read-only.
- Reorganized some internals
CommandLoader
has be renamed toCommandRegistry
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 ofclient.config.validator
. This also means that the clientconfig
property has been removed.- Some other non-config related properties have been moved to more relevant classes (e.g.
HandlesClient#ignore
is nowCommandHandler#ignore
).
- Some other non-config related properties have been moved to more relevant classes (e.g.
- All dependencies have been removed.
- There is a new internal
Queue
class.
- There is a new internal
- 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 nowhandles
as opposed toclient
to avoid confusion with the Discord.js client.