v2.0.1a1
·
887 commits
to master
since this release
2.0.1a1 - 2021-09-25
Added
- Default client level message parser error handling hook.
- Component arguments to the relevant context create message methods.
Changed
- Bumped minimum Hikari version to 2.0.0.dev102.
- Consistently raise ValueError instead of LookupErrors in places where a value is being removed.
- Context.fetch_channel and Context.get_channel now return TextableChannel and TextableGuildChannel respectively.
Fixed
- Actually call Command.bind_client and bind_component in the component add command methods and specifically SlashCommand.bind_client in Component.bind_client.
- Return the command object from Component.with_command methods.
- Automatic deferral is now also cancelled in SlashContext.create_initial_response.
- SlashContext.edit_last_response can now be used to edit a deferred response.
- Small typing fixes made while setting pyright to strict.
Removed
- suppress_exceptions from Client.dispatch_client_callback cause it was poorly implemented and didn't make sense.