Inconsistency with type hinting create_x_channel
methods and underlying _create_channel
method
#1162
Closed
3 tasks done
Labels
bug
Something isn't working
t: refactor/typing/lint
Refactors, typing changes and/or linting changes
Milestone
Summary
Inconsistency with type hinting
create_x_channel
methods and underlying_create_channel
methodReproduction Steps
Create a new text, voice, or any guild channel within a category.
While this does actually work, pylance and pyright yell about it.
Minimal Reproducible Code
No response
Expected Results
To be able to pass
disnake.Object
to the category kwarg for any of thecreate_x_channel
methods without pyright or pylance yelling at me.Actual Results
Pylance and pyright yell about type mismatch.
Intents
not applicable
System Information
Checklist
Additional Context
No response
The text was updated successfully, but these errors were encountered: