v1.0.0-alpha.5
Pre-release
Pre-release
1.0.0-alpha.5 (2021-02-02)
⚠ BREAKING CHANGES
- client:
client.arguments
is nowclient.stores.get('arguments')
- client:
client.commands
is nowclient.stores.get('commands')
- client:
client.events
is nowclient.stores.get('events')
- client:
client.preconditions
is nowclient.stores.get('preconditions')
- client:
client.registerUserDirectories
is nowclient.stores.registerUserDirectories
- client:
client.deregisterStore
is nowclient.stores.deregister
- client:
client.registerStore
is nowclient.stores.register
- command parser: The events
prefixedMessage
,unknownCommandName
, andunknownCommand
3rd
parameter now have the typestring | RegExp
- command parser:
CommandContext.prefix
now has the typestring | RegExp
- The
UserError
,PreconditionError
,ArgumentError
classes,
and theok
,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)