mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Refactor Guild to support type hints
This patch also does the following: * Sets some parameters to be positional only * Changes Guild.edit to use the MISSING sentinel * Changes the various create_channel methods to be type safe * Changes many parameters from Optional[T] to use MISSING * Changes Guild.create_role to use MISSING sentinel This refactor is mostly partial but lays a decent foundation
This commit is contained in:
1 parent
2247fbb23a
commit
7dccbace78
3 files changed
+552
-388
No files matched your search
+535
-381
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user