Previously, slash command's simply converted discord.Object into mentionable (type 9) but that wasn't entirely correct, as discord treats mentionable as Union[discord.Member, discord.Role], so, I did a small change to correct this.
Checklist
If code changes were made then they have been tested.
I have updated the documentation to reflect the changes.
This PR fixes an issue.
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, ...)
<!-- Pull requests that do not fill this information in will likely be closed -->
## Summary
<!-- What is this pull request for? Does it fix any issues? -->
Previously, slash command's simply converted `discord.Object` into mentionable (type 9) but that wasn't entirely correct, as discord treats mentionable as `Union[discord.Member, discord.Role]`, so, I did a small change to correct this.
## Checklist
<!-- Put an x inside [ ] to check it, like so: [x] -->
- [x] If code changes were made then they have been tested.
- [ ] I have updated the documentation to reflect the changes.
- [ ] This PR fixes an issue.
- [ ] 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, ...)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Previously, slash command's simply converted
discord.Objectinto mentionable (type 9) but that wasn't entirely correct, as discord treats mentionable asUnion[discord.Member, discord.Role], so, I did a small change to correct this.Checklist
comparing
origin is Unionis unnecessary