Skip to content

v1.0.0-alpha.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@favna favna released this 02 Feb 13:52
· 905 commits to main since this release

1.0.0-alpha.5 (2021-02-02)

⚠ BREAKING CHANGES

  • client: client.arguments is now client.stores.get('arguments')
  • client: client.commands is now client.stores.get('commands')
  • client: client.events is now client.stores.get('events')
  • client: client.preconditions is now client.stores.get('preconditions')
  • client: client.registerUserDirectories is now client.stores.registerUserDirectories
  • client: client.deregisterStore is now client.stores.deregister
  • client: client.registerStore is now client.stores.register
  • command parser: The events prefixedMessage, unknownCommandName, and unknownCommand 3rd
    parameter now have the type string | RegExp
  • command parser: CommandContext.prefix now has the type string | RegExp
  • The UserError, PreconditionError, ArgumentError classes,
    and the ok, err functions now take a single parameter which is an object
    of properties, rather than multiple parameters.

Features

  • args: add Args#commandContext (#154) (63c195b)
  • client: change stores from a Set to a Map (#129) (01f7161)
  • command: add generateDashLessAliases (#146) (e94649c)
  • command parser: add regexPrefix client option (#145) (86e6b79)
  • preconditions: make Permission errors less vague (#151) (c6b04e1)
  • make errors take objects instead of many params (#144) (f638410)

Bug Fixes

  • update discord redirect URL (61edce2)