pycord
pycord copied to clipboard
fix: :bug: Union type cannot be used in `ctx`.
Summary
A command's ctx parameter could not be typed as a Union which was especially problematic when using bridge
Information
- [x] This PR fixes an issue. fixes: #2378
- [ ] This PR adds something new (e.g. new method or parameters).
- [ ] This PR is a breaking change (e.g. methods or parameters removed/renamed).
- [ ] This PR is not a code change (e.g. documentation, README, typehinting, examples, ...).
Checklist
- [x] I have searched the open pull requests for duplicates.
- [x] If code changes were made then they have been tested.
- [ ] I have updated the documentation to reflect the changes.
- [ ] If
type: ignorecomments were used, a comment is also left explaining why. - [x] I have updated the changelog to include these changes.