Repository navigation
v2.5.1a1
·
536 commits
to master
since this release
2.5.1a1 - 2022-05-02
Added
- A
sendmethod toCommandErrorwhich can be overridden to customise its response behaviour. - Support for other create message arguments to
CommandError.
Changed
- Renamed
CommandError.messageto.content.
Fixed
- Relax the typing of
ensure_resultto allow a type ofboolto be passed rather than justLiteral[True, False]. - Some edge cases in the weekly schedule increment handling logic.
- Long running
delete_afterand command execution tasks will no-longer ever be cancelled by GC.
Removed
default_permissionoptions for slash commands as command permissions V2 broke and deprecated this.AutocompleteOptionas a lot of the promises this makes aren't realistic.
AutocompleteContext.optionsandAutocompleteContext.focusednow usehikari.AutocompleteInteractionOption.