Skip to content

v0.3.0

Compare
Choose a tag to compare
@hkwu hkwu released this 21 Apr 02:44
· 55 commits to master since this release

Added

  • @me prefix for selfbots.
  • Additional filter middleware.
  • Command groups.
  • Service dependency declaration within command configurations.

Changed

  • ServiceRegistry#fetch() is now ServiceRegistry#get().
  • ServiceRegistry#bind() has been split up into #bind(), #singleton() and #instance().
  • dispatchError event has been changed to dispatchFail. This event now emits two arguments: the type of failure encountered and an object with the failure context.
  • @self prefix is now @client.
  • Command registration moved to client's command registry's add() method. Client dispatcher is now a private property.

Removed

  • Function configuration support for configure().
  • unload() method for removing registered commands.
  • provide() middleware for injecting services.